Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unicode question
Message
From
16/09/2003 13:22:59
 
 
To
17/08/2003 19:43:40
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00820908
Message ID:
00829519
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform