× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




On Mon, 8 Apr 2002, Marek Bajon wrote:
>
> > > - I can't see Polish characters (CCSID - 870, Unix cp - iso8859-2, Win
> > cp - 1250, Dos cp - 852). I think tn5250 does not have 870 to win1250
>
> I am afraid that's the case. Linux needs 870 to iso8859-2 translation.
> Windows (Polish version) uses windows latin 2 (cp 1250) fonts, so I think
> the Linux translation cannot work.
>
> Using tn5250 under Linux we assumed that our OS is using iso8859-xx code
> page. This was true for Linux, it is not true for Windows.

Yes, you hit the nail on the head.  I just used the existing code for
Linux, and did not consider that it might be different under Windows.

> I think, that we
> will need a more general format of the "map" option. "map=870" should be
> replaced by "map=870_8859-2", and additionaly we need "map=870_1250" and
> "map=870_852". I know, that  recode supports all codepages mentioned above.

Why does lp5250d need a different mapping than tn5250?  You lost me
here.   Why do you use the MS-DOS mappings with lp5250d?

I was thinking we'd just have it "automagically" know the difference
between Windows and Unix and use the appropriate map.  (then, of course,
add the maps to transmaps.h)  But, if we need different codepages for
lp5250d than tn5250, then you're right, we'll have to make it more
generalized...


> I have no idea, what translations are needed for other languages.

Here's what I've figured out by looking at the output of "recode -l":

    CCSID      Windows Mapping      Description
    -----      -------------------  -----------------
     420        windows-1256          Arabic
     424        windows-1255          Hebrew
     870        windows-1250          Eastern Europe (Poland)
     875        windows-1253          Greek
     880        windows-1251          Cyrillic
     905        windows-1254          Turkey
    1026        windows-1254          Turkey

I'm not clear on those last two.  We were mapping 905 to Latin 3, and
1026 to Latin 5, but I don't know which one should be windows-1254, and/or
what we should do with the other.  Do we have any Turkish users who could
clarify that for me?

Also, I haven't encountered any problems with the current map for "Latin 1".
Has anyone else?   Is there a different mapping I should be using for
people in Germany, UK, etc?

> > > - I think that resizing fonts according to the window size would be more
> > > what users expect (at least the users I know :) )
> >
> > Hmmm...  Did you try this before I turned it off?  Did you like the way it
> > worked?  If so, I could make it a config option.
>
> Sorry, I didn't try the previous version. Another config option wouldn't do
> any harm :)
>

Okay, I'll try to re-add that option as a config keyword.  Maybe I'll even
have time after work tonight.  (This should be relatively easy to do)




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.