- 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
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 UTC