aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Encoding Issue with Javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Encoding Issue with Javascript" Watch "Encoding Issue with Javascript" New topic

Encoding Issue with Javascript

Sivaraj Mani

Joined: Jun 07, 2006
Posts: 5
Japanese sample text is " にほんごが入力できない"

textbox is created by a javascript as a floating textbox...

I type keys "nihongoganyuryokudekinai" with kana- mode in the textbox, that is mode to enter Japanese char.

While typing IME controll seems be diabled, and text appears as "nいhおnngおgあnyううryおkうdえkいnあい"

we replicated this problem with Tiger 10.2-10.4 x Safari 2.x
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
a floating textbox? You have the right encoding on the page?

Sivaraj Mani

Joined: Jun 07, 2006
Posts: 5
Yes,, it is a floating textbox ,created using <div> tag.. i have set the encoding as charset="utf-8" in <script > tag.
Consider Paul's rocket mass heater.
subject: Encoding Issue with Javascript