Re: VB - Ascii to Unicode and then Unicode to UTF-8 conversion (Very desperate!!)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Some questions Manju...
What do you mean by "one report"?
Where is your data coming from?
What do you mean by "not supporting Chinese"

VB always holdings String data in memory as Unicode. Hence, it should not be
necessary to perform an ANSI->Unicode conversion, unless you reading from a
file but then that should happen automatically. Also, why would you need to
generate UTF-8? Most UI controls want ANSI characters, not Unicode or UTF-8

Tony Proctor

<maralikatti@xxxxxxxxx> wrote in message
news:1161636880.306352.281660@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi All,

I have one report which is not supporting Chinese characters, so now I
need to read each character present in ASCII and convert them to
UTF-8...

So I want ASCII to Unicode and Unicode to UTF-8 conversion in VB 6.0

Thanks a lot in advance.

~~Manju



.



Relevant Pages

  • Re: Unicode Support
    ... >> (I know this is a poor example, but think about other languages, eg ... First things first, when you register your RosAsm windows classes, you ... the messages with ANSI / UNICODE parameters in ANSI or UNICODE form... ... with their alphabet characters, as with the numbers and punctuation...so, ...
    (alt.lang.asm)
  • =?windows-1252?Q?Re=3A_Encrypting_Unicode_=96_Using_ASCII_as_a_Surrogat?= =?windows-1252?Q?e
    ... characters of an exotic eastern language using an ASCII keyboard. ... communicate in large volume with China or Japan using CJK from Unicode ... present the message text to Alice as a string of hexadecimal numbers ... by the computer as an external file and enciphered by a stream cipher ...
    (sci.crypt)
  • =?windows-1252?Q?Encrypting_Unicode_=96_Using_ASCII_as_a_Surrogate_Al?= =?windows-1252?Q?pha
    ... characters of an exotic eastern language using an ASCII keyboard. ... It is true to say that any keyboard of any language can be simulated ... communicate in large volume with China or Japan using CJK from Unicode ... by the computer as an external file and enciphered by a stream cipher ...
    (sci.crypt)
  • =?windows-1252?Q?Re=3A_Encrypting_Unicode_=96_Using_ASCII_as_a_Surrogat?= =?windows-1252?Q?e
    ... characters of an exotic eastern language using an ASCII keyboard. ... communicate in large volume with China or Japan using CJK from Unicode ... present the message text to Alice as a string of hexadecimal numbers ... by the computer as an external file and enciphered by a stream cipher ...
    (sci.crypt)
  • Re: heeeeeeeeeeeeeeeellllllllllllllppppppppppppppppppppp
    ... This means that if you develop the bad habit of using char * (left over ... It usually takes me five minutes to create a Unicode version of any of my apps, ... BOOL and bool are different data types. ... can be up to MAX_PATH characters). ...
    (microsoft.public.vc.mfc)