Back | Reverse | Quick Reply | Post Reply |

Displaying Japanese text in web browser???
Link | by czetsuya on 2006-05-09 21:38:49
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 gendou 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???
Link | by czetsuya on 2006-05-14 23:36:25
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???
Link | by 「源」 on 2006-05-15 07:29:48
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???
Link | by czetsuya on 2006-05-18 20:23:56
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???
Link | by 「源」 on 2006-05-19 10:35:30
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???
Link | by czetsuya on 2006-05-20 22:21:22
yeah maybe i should experiment a little hahaha...

http://czetsuya-travel.blogspot.com

Back | Reverse | Quick Reply | Post Reply |

Copyright 2000-2024 Gendou | Terms of Use | Page loaded in 0.0025 seconds at 2024-11-22 05:53:11