Reputation: 16769
How do I type chinese in a textbox.
I tried to set the accept-charset in the form to accept-charset="Big5"
but it does still shows english characters.
I have this
<form accept-charset="Big5" encoding="Big5" method="post">
<input type="text" name="test">
<input type="submit" name="submit">
</form>
and my question why does it stil shows english character while typing.
Upvotes: 0
Views: 464
Reputation: 201628
You type Chinese in a textbox like you type it elsewhere. The tools for it depend on the system and aren’t basically a programming issue. For example, in many systems, you can enable an input mode where you type in text in pinyin and then select among its Chinese-character equivalents.
The charset
parameter has nothing to do with this. It specifies the character encoding used in form data transmission. And it is usually better to use UTF-8 for that on web pages, rather than Big5.
Upvotes: 0