Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Correct codepage 1251 inside Web Services
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00778744
Message ID:
00779650
Vues:
14
Hi Sergey,

>>In Regional Settings: set Russian language as default language for non-Unicode applications.
>
>Where exactly on a W2K server I have to do it? On my W2K server I have default language - Russian, country - Russia (but my W2K is server not a Ruissan edition)
>

'Regional Options' dialog on W2K is slightly different than on XP. Probably you should check Cyrillic check box in 'Language settings for the system' on General page and make it default by pressing 'Set default...' button.


>>In code: set Russian LocaleID - SYS(3005,1049)
>
>I did it (in the init ivent of the ole public web service class). And I did send LocaleID for customer, yes it changed, but server continue to use 1252 web page)
>

I am not sure what do you mean, but SYS(3005) affects the way VFP converts DBCS strings to/from Unicode when it parses/generates XML.

>>Make sure VFP uses code page 1251 as default code page.
>
>When I develope web service I have config.fpw with 1251 line in it. In project it has 1251 codepage. May be I have place config.fpw for runtime libraries? But I do not know where I have to place it, because it W2K server and web services do not read config.fpw .
>

I believe 'Regional Options' settings should make VFP use 1251 code page by default.

Thanks,
Aleksey.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform