Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cyrillic to app.ini as Unicode
Message
From
23/01/2013 07:09:19
 
 
To
23/01/2013 06:26:24
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01563723
Message ID:
01563741
Views:
60
>ooops, wrong ....
>CPCURRENT() ... 1250
>CPCURRENT(1) .... 1250


>LOCAL c
>c=strconv(filetostr("app.ini"),6, 1251,1)
>alines(aR, c)
>...
****************
>the problem is the opposite direction: from the VFP textbox (fontcharset=204) to App.ini, so that when I open the app.ini with notepad, see the Cyrillic alphabet, in certain sections.

>In that case, try

>xx = rtrim(thisform.text1.Value) && or for this example xx = strconv('CFE5F0E020CFE5F0E89E', 16)
>yy = strconv(m.xx, 5, 1251, 1)
>=strtofile(m.yy, 'd:\tmp\1.txt', 2) && with BOM marker
>I can open the file with notepad and it displays the chars Пера Перић

Congratulations to Greg.
I can open the file with notepad and it displays the chars Пера Перић. That is ok.

I just do not need to write to d:\ temp\1.txt, but in App.ini
section Firma
Director = Пера Перић
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform