W3C home > Mailing lists > Public > www-international@w3.org > October to December 2001

RE: ANSI to UTF-8 conversion

From: Richard, Francois M <Francois.M.Richard@usa.xerox.com>
Date: Fri, 26 Oct 2001 10:41:17 -0400
To: "'Marek Mahdal (marekk)'" <marekk@sk.e-group.org>
Cc: www-international@w3.org
Message-id: <B08661D21F0FD311A21A00805FC7D65001EA3576@usa0845ms1.svcdoc.mc.xerox.com>
Marek,

In order for the browser to correctly display the Japanese characters using
utf-8, you need not only to declare the encoding as utf-8 in <META> tag (as
you did), but also to actually save the file as utf-8. On Windows, Notepad
or IE can do this for you.


François

> -----Original Message-----
> From: Marek Mahdal (marekk) [mailto:marekk@sk.e-group.org]
> Sent: Friday, October 26, 2001 9:53 AM
> To: unicode@unicode.org
> Subject: ANSI to UTF-8 conversion
> 
> 
> Hi all,
>    please excuse me for offtopic discussion, but I am 
> helpless by solving a
> problem with Unicode (UTF-8) encoding.
> I am developing a multi-lingual website and want to implement 
> japanese,
> russian, and many other languages, which are supported by UTF-8.
> The japanse translator sent me the japan texts in ANSI form.
> 
> Example 1:
> 
> Cancel = "ƒLƒƒƒ“ƒZƒ‹" so, when using japanese encoding, the 
> text displays
> right. e.i.:
> 
> <HTML><HEAD>
> <META content="text/html; charset=shift-jis" http-equiv=Content-Type>
> </head>
> <body>
> Cancel: ƒLƒƒƒ“ƒZƒ‹
> </body>
> </html>
> 
> But when using UTF-8 encoding (instead of shift-jis) it's not displayd
> correctly.
> To dyplay it correctly, there must be in form:
> 
> Example 2:
> 
> <HTML><HEAD>
> <META content="text/html; charset=utf-8" http-equiv=Content-Type>
> </head>
> <body>
> Japanese text: 私はガラスを食べられます。それは私を
> 傷つけません。
> </body>
> </html>
> 
> Please can somebody give me instructions how to transfer the 
> text form from
> the Example 1 to Example 2 ? That means, have to display e.i. 
> "Cancel" in
> japan using UTF-8 ?
> Thank you.
> 
> Marek Mahdal
> 
> 
> 
> 
Received on Friday, 26 October 2001 10:41:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:16:58 GMT