Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Japanese Encoding - which one?



Lyle (Hiroshi) Saxon wrote:

>I'm having trouble creating Japanese pages for my site - while I can 
>post them in Japanese and they display in Japanese, when looking at the 
>Page Source, it shows only computer code and no recognizable language.  
>I wouldn't care so long as the Japanese of the page is displaying, but 
>since the Page Source is garbage, none of the Japanese text is readable 
>by search engines, which is a problem.  Yes - there is practically no 
>text on the link I'm putting here for an example:
>http://www5d.biglobe.ne.jp/~LLLtrs/i_i_v/jpage/f1/TokyoMtrShwJ01.html
>  
>
Use a japanese character encoding.  Your pages are in
ISO-8859-1 encoded as can be seen from the source

<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">

 ISO-8859-1 does not support japanese characters so the characters are
encoded with "numeric character references" see

http://www.w3.org/TR/REC-html40/charset.html#entities

>- but there is a little and the page name and whatnot is all garbage in 
>Page Source.  I have some other pages posted which do have readable 
>Japanese text (even in Page Source), linked from this page:
>http://www5d.biglobe.ne.jp/~LLLtrs/i_i_v/jpage/jg01.html
>  
>
This page is shift_jis encoded as can be seen from the source

<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">

>- but they were created with a bloody MicroMuck box with Netscape 4.0.  
>I need to put together Japanese pages with Linux.  How can I get 
>Japanese text on the page that will be recognizable to the Internet as 
>Japanese and not computer code garbage?
>
What makes you think that encoded japanese characters are

 not "recognizable to the Internet"?

Edward



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links