Displaying Japanese text in web browser???
|
If u don't mind can somebody teach me how to write japanese text in the web browser. I mean when I make a say .html file. I do have a japanese word processor but not so useful enough. I wonder if there's a way to encode some text when i create a php site???
http://czetsuya-travel.blogspot.com
|
Re: Displaying Japanese text in web browser???
Link |
by
on 2006-05-09 21:52:30 (edited 2006-05-09 21:54:56)
|
you can save japanese in your template file, and it will be parsed just like any other text. Gendou.com uses UTF-8 text-encoding: <meta http-equiv="content-type" content="text/html; charset=UTF-8" />That meta tag goes inside the <head> tag. |
Re: Displaying Japanese text in web browser???
|
meaning they have an independent text editor where they edit the text and then save it as a .html file of course that file editor supports japanese characters ne? well thanks anyway....
http://czetsuya-travel.blogspot.com
|
Re: Displaying Japanese text in web browser???
|
Assuming you have Japanese IME installed (if not, you should), you need any text editor that supports UTF-8, and make sure to save your HTML file using that encoding, in addition to adding the header as suggested already. Notepad that comes with any XP works (must choose to save as UTF-8), if you don't have anything else. Also there is a free notepad replacement called Notepad++, which offers some color coding for HTML code. If you have some money to spend, you could try AceHTML, too. |
Re: Displaying Japanese text in web browser???
|
i really appreciate ur time so thank you :-). by the way can i store japanese characters in database say i have a japanese text editor and my browser does support utf-8 or shift_jis encoding meaning japanese characters would be visible here? mysql supports that right if i store the characters as bytes? hmmm...???
http://czetsuya-travel.blogspot.com
|
Re: Displaying Japanese text in web browser???
|
I haven't really played with MySQL, but if it supports UTF-8, then you shouldn't have to do anything special like saving the file as bytes. Try saving it as you would any other text file. |
Re: Displaying Japanese text in web browser???
|
yeah maybe i should experiment a little hahaha...
http://czetsuya-travel.blogspot.com
|