2009/12/31 Przemysław Czerpak <[email protected]>:

> In Windows CP-125[02345678], IBM CP-874 and our modified ISO-8859-1B
> it's at possition 128 so if you use one of the above CPs then:
>   ? CHR( 128 )
> should show euro sign.

After many tests with postgresql, mysql, pdf, rtf, xls it seems that
ITWIN is the best solution also for Linux/OSX.

Euro sign is shown correctly at 0x80 even in an html page with
encoding="ISO-8859-1".
In mysql 5.0 latin1 is indeed cp1252 and in oocalc Windows
1252/WinLatin1 is the only encoding I found that shows the dbfs
correctly. Not to mention that it makes easy to share data between
gtxwc and win/gtwvt apps.

So I plan to move from:

   REQUEST HB_CODEPAGE_ITISB
   HB_SETCODEPAGE( "ITISB" )
   HB_SETTERMCP( "ITISB", "ITISB", TRUE )

to

   REQUEST HB_CODEPAGE_ITWIN
   SET( _SET_CODEPAGE, "ITWIN" )
   HB_SETTERMCP( "ITWIN", "ITWIN", TRUE )

for all my platforms.

Am I missing anything?

best regards,
Lorenzo
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to