Daric
Daric

Reputation: 16769

How do I type chinese in a text box

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

Answers (3)

Jukka K. Korpela
Jukka K. Korpela

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

xdazz
xdazz

Reputation: 160863

You need to change your IME to Chinese IME.

Upvotes: 2

Martin Bean
Martin Bean

Reputation: 39389

Presumably with a Chinese keyboard.

Upvotes: 0

Related Questions