Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Utf-8 encoding and Vfp
Message
De
06/11/2001 12:15:54
 
 
À
06/11/2001 10:33:16
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00577902
Message ID:
00578069
Vues:
67
I have test the code :
*
lcstr = STRCONV("È", 1) &&IF YOU CAN TURN EXPLORERS ENCODING TO GREEK WINDOWS, YOU SHOULD SEE THE GREEK CHARACTER THETA
lcstr = STRCONV(lcstr, 9) &&I GET THE ERROR : FUNCTION ARGUMENT VALUE, TYPE OR COUNT IS INVALID

Dimitrios

>see the bellow code:
>
>lcstr = STRCONV(lcstr, 1) && convert single-byte string to double-byte string
>lcstr = STRCONV(lcstr, 9) && convert double-byte string to UTF-8
>lcstr is now UTF-8
>
>
>>Thank you both.
>>
>>I tried to use this function but I have not succeeded.
>>
>>Here is the exact problem :
>>I want to produce an xml document which will be in utf-8 encoding. Utf-8 is a unicode encoding as is utf-16. Utf-8 and utf-16 is a representation of unicode characters using one or more bytes. The first 127 characters of utf-8 are represented by the same bytes as ascii. Thats why you never have problems with utf-8 and pure latin characters. Windows 98 uses for greek characters the windows-1253 CodePage which is the default codepage in my pc.
>>
>>Then i want to convert the greek characters to utf-8 encoding.
>>
>>Dimitris
>>
>>>>Hello,
>>>>Is it possible to encode a string from a local windows or other code page (i.e. windows-1253) to utf-8 with out going via the MS xml parser ??
>>>>
>>>>Thank You
>>>
>>>From the manual: STRCONV() "Converts character expressions between single-byte, double-byte, UNICODE, and locale-specific representations.".
>>>
>>>What I don't quite understand is whether utf-8 the standard (default) Unicode codepage, or not.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform