webmonkey8
asked on
Inputting different languages in Dreamweaver 2004 - HELP!
Hello, I'm developing a site in both English and Japanese. I can copy and paste Japanese text from another source to directly into Dreamweaver's pages just fine. However, when I create include files (.inc) and paste these Japanese text into an include file, it gives me a message saying that "this document does not support these characters, try using UTF-8 code" or something like that.
Can someone help? Do I have to enable something in my Dreamweaver envirnonment or do I need to download a language pack?
Thanks in advance!
Can someone help? Do I have to enable something in my Dreamweaver envirnonment or do I need to download a language pack?
Thanks in advance!
ASKER
Hi Eternal Student,
thanks for your reply. I've tried doing what you suggested, but it still didn't work. I did a couple of screenshots for you to see.
This one is incorrect when I try to save this include file: http://www.ffeilden.com/incorrect.gif
This one, which wasn't done by me, is correct, even though on the web file itself looks garbled, it displays correctly on the web browser: http://www.ffeilden.com/correct.gif
Hopefully you or anyone else can help. Much appreciated!
thanks for your reply. I've tried doing what you suggested, but it still didn't work. I did a couple of screenshots for you to see.
This one is incorrect when I try to save this include file: http://www.ffeilden.com/incorrect.gif
This one, which wasn't done by me, is correct, even though on the web file itself looks garbled, it displays correctly on the web browser: http://www.ffeilden.com/correct.gif
Hopefully you or anyone else can help. Much appreciated!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Excellent, thanks, it worked. :)
Basically for each html document you should declare what type of character encoding you are going to use.
Dreamweaver will automatically put this line of code at the top of your document:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
But you need to change it to this line of code:
<meta http-equiv="content-type" content="text-html; charset=utf-8">
This should work fine, but for more details look at this link:
http://www.alanwood.net/unicode/htmlunicode.html
let me know how you get on.