Ö
Ö£öκÀ
hi all,
i need to covert the utf8 character to gbk,is that possible?Any idea
will be appreciate.
i need to covert the utf8 character to gbk,is that possible?Any idea
will be appreciate.
[email protected] said:i need to covert the utf8 character to gbk,is that possible?Any idea
will be appreciate.
0„2 0„2 Examples (cut&paste):
0„2 0„2 0„2„1¤7„1¤70¼3„1¤7„1¤7„1¤7„1¤7 (GBK)
0„2 0„2 0„2„1¤7„1¤7„1¤70–90ö2„1¤7 (GBK)
0„2 0„2 0„2CD„1¤7„1¤7„1¤7„1¤7„1¤7 15„1¤7„1¤7R „1¤7„1¤7„1¤7„1¤7„1¤7 (mix Latin/GBK)
Bart said:<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
That should be
charset=ISO-8859-1
[email protected] said:Thanks for your reply.But if we set charset=ISO-8859-1,then the
character user input will be coded in this enoding.Can you give me
some more idea.Thanks in advanced.
[email protected] said:Do you mean the charset of our webpage has nothing to do with the
encoding of the user's input?
can you give me some links resource for my reference/
http://www.khngai.com/chinese/charmap/tblgbk.php?page=0
http://en.wikipedia.org/wiki/UTF-8
http://en.wikipedia.org/wiki/GBK
i have tried your code,when i input:
....
output in the next textarea: .....
Thanks for your great work!
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.