>Is there some way to preserve the same character I used in programs when the code page is changed in Windows?
>
>For example I have used in some program CHR(198) which is "¯" character in English (code page 1250), but when I change code page to Slovenian (code page 1252) the CHR(198) is "Ã" character.
>
>How to handle this problem?
>I need some unique (never (or almost never) used in typing) character to work with, independet of different code pages.
In W2K & XP, you can use unicode version of messagebox.
To print cyrillic alphabet use:
c = ''
FOR i=1 TO 0x5f
c = c + CHR(i)+CHR(4)
endf
c = c + CHR(0)+CHR(0)
declare integer MessageBoxW in user32 integer, ;
string lcMessageText , string Titlebartext, integer Dialogtype
MessageBoxW( 0, c,c,0 )
Andrus