[ILUG-Webdev] Re: Japanese input [SOLVED]
Kae Verens
kverens at contactjuggling.org
Sun Dec 7 16:26:33 GMT 2003
Lee Hosty wrote:
> Sorry I missed this. I'm out of work and without regular internet access
> ATM. I had a similar problem to yours a few montsh ago. Fixed it by
> adding the following:
>
> <meta http-equiv="content-type" content="text/html; charset=Shift_JIS">
>
> which is in essence a client-side hack for setting the server headers ...
I wanted to get the site working in multiple languages, though, with as
little complexity as possible. Specifying any particular language would
have made it more complex. By using utf-8, I allowed the browser to show
all languages, without specifying any in particular.
A reason for that, is that the site needs to be able to display English
where the requested language is no available for any particular string.
The problem is solved by specifying utf-8 in the server headers, and
also in the HTML <head>.
Works for Japanese, and Arabic - the two more complex languages I had to
code for.
Kae
More information about the Webdev
mailing list