Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] OT-Japanese in PHP
- Date: Fri, 20 May 2005 23:36:18 +0900
- From: Evan Monroig <evan.ubuntu@example.com>
- Subject: Re: [tlug] OT-Japanese in PHP
- References: <428D88EA.1090308@example.com>
On 5/20/05, Mark Sargent <powderkeg@example.com> wrote: > I've set this at the top of my pages, > <html lang="Shift_JIS"> > and this for the font > <font type=\"Shift_JIS\">$product_data_output</font> Concerning your html code, the "correct" way to do this is something like this ----------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=Shift-JIS" /> <title>何でもいい</title> </head> <body lang="ja"> ----------------- The most important is the META tag to tell what charset you use, and after that the language attributa for the BODY tag (this will hopefully in the near future tell "clever" browsers to use the japanese glyph of a character and not the chinese one when we use the utf-8 charset) Evan
- Follow-Ups:
- Re: [tlug] OT-Japanese in PHP
- From: Stephen J. Turnbull
- References:
- [tlug] OT-Japanese in PHP
- From: Mark Sargent
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] OT-Japanese in PHP
- Next by Date: Re: [tlug] OT-Japanese in PHP
- Previous by thread: Re: [tlug] OT-Japanese in PHP
- Next by thread: Re: [tlug] OT-Japanese in PHP
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links