Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: url encode to utf-8

www.cryer.info
Managed Newsgroup Archive

Re: url encode to utf-8

Subject:Re: url encode to utf-8
Posted by:"ildg" (il..@163.com)
Date:24 May 2006 01:55:54

"Piotr Szturmaj" <gacek999@NOSPAM.tlen.pl> wrote:
>>>Utf8Encode()
>>
>> Thank you~
>> But it doesn't work at all.
>> when I pass a widestring to utf8encode, I get disordered codes.
>
>What do you mean by "disordered codes"? I'm using this function in my
>applications and it works well.
>
>

It only works on English words. If non-Enlish words are contained, the result will become unrecognizable, that's what I called "disordered codes". But in java, I can get right result, no matter what I want to encode.

By the way, I was trying to encode Chinese words.

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive