UTF-8

Post Reply
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

UTF-8

Post by byte-one »

Hello!
Is there a way to convert ansi to utf-8?
Regards,
Günther
---------------------------------
office@byte-one.com
AHF
Posts: 837
Joined: Fri Feb 10, 2006 12:14 pm

Re: UTF-8

Post by AHF »

Did you try hb_translate ?
Regards
Antonio H Ferreira
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: UTF-8

Post by byte-one »

Is there a Codepage UTF8?

I found the function hb_strToUTF8() and it seems to functioning! (xHarbour, in Harbour?)
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: UTF-8

Post by nageswaragunupudi »

HB_CDPSELECT( "UTF8" )

HB_StrToUTF8() works. But may I know why do you want to translate? Personally, I do not see any advantage of the conversion.

Plain English is just the same whether in ANSI or UTF8. Identical.
Some European languages using accented characters may differ when converted. But may I know for what use you want to do the conversion?
Regards

G. N. Rao.
Hyderabad, India
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: UTF-8

Post by byte-one »

I use this for translate european (german in this case) text to UTF8 to make QR-Labels. QR should be in UTF8.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: UTF-8

Post by nageswaragunupudi »

byte-one wrote:I use this for translate european (german in this case) text to UTF8 to make QR-Labels. QR should be in UTF8.
Thanks for the information.
Regards

G. N. Rao.
Hyderabad, India
Post Reply