dbTalk Databases Forums  

Converting from UTF-8 to ANSI

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Converting from UTF-8 to ANSI in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kuido Külm
 
Posts: n/a

Default Converting from UTF-8 to ANSI - 06-17-2004 , 08:39 AM






Hello !

How to convert data form UTF-8 to ANSI ?
I download data with ActiveX control form internet homepage

http://tau.haigekassa.ee/toru_export/toru_arstid.txt

and then must save it to the database.
Must I use WIN API WideCharToMultiBute or is there any other solutions ?
Some special letters are "corrupted" (Š and Ž )

Kuido

Reply With Quote
  #2  
Old   
Rick Bean
 
Posts: n/a

Default Re: Converting from UTF-8 to ANSI - 06-17-2004 , 10:23 AM






Kuido,
Depending on the version of VFP you are using, the STRCONV( ) Function should be able to handle this for you. (You need VFP 7.0 or higher.)

Rick

"Kuido Külm" <kuido (AT) ids (DOT) ee> wrote

Quote:
Hello !

How to convert data form UTF-8 to ANSI ?
I download data with ActiveX control form internet homepage

http://tau.haigekassa.ee/toru_export/toru_arstid.txt

and then must save it to the database.
Must I use WIN API WideCharToMultiBute or is there any other solutions ?
Some special letters are "corrupted" (Š and Ž )

Kuido

Reply With Quote
  #3  
Old   
Kuido Külm
 
Posts: n/a

Default Re: Converting from UTF-8 to ANSI - 06-18-2004 , 02:19 AM



Rick Bean ::
Quote:
Kuido,
Depending on the version of VFP you are using, the STRCONV( ) Function should be able to handle this for you. (You need VFP 7.0 or higher.)
I have 6.0

Quote:
Rick

"Kuido Külm" <kuido (AT) ids (DOT) ee> wrote


Hello !

How to convert data form UTF-8 to ANSI ?
I download data with ActiveX control form internet homepage

http://tau.haigekassa.ee/toru_export/toru_arstid.txt

and then must save it to the database.
Must I use WIN API WideCharToMultiBute or is there any other solutions ?
Some special letters are "corrupted" (Š and Ž )

Kuido



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.