Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Inputting different languages in Dreamweaver 2004 - HELP!

Posted on 2004-09-14
5
Medium Priority
?
151 Views
Last Modified: 2010-04-25
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!
0
Comment
Question by:webmonkey8
  • 3
  • 2
5 Comments
 
LVL 18

Expert Comment

by:Eternal_Student
ID: 12062539
Hi Webmonkey,

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.
0
 

Author Comment

by:webmonkey8
ID: 12071726
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!
0
 
LVL 18

Accepted Solution

by:
Eternal_Student earned 500 total points
ID: 12080251
OK you NEED to set your pages to the right Japanese character encoding and this should work for that:

<html lang="jp">
<head>
<title>blah</title>
<meta http-equiv="content-type" content="text/html;charset=x-sjis">
<meta http-equiv="content-language" content="jp">
</head>


I do know that Dreamweaver can be a nuisance for editing Japanese.
Read this article on how to Enable Japanese Support on Windows 2000/XP:

http://www.seanspot.com/jwrite/MS-IME/GetIME/jwrite-getime-w2k.htm

also, be very careful when copying the japanese over into the HTML. japanese is a double byte language so it may look like you are copying over the proper amount of text but it may chop the first or last few characters. Copy it into the code and not the design view. Ive heard that Frontpage express is easier for this.

Let me know how u get on ?
0
 
LVL 18

Expert Comment

by:Eternal_Student
ID: 12080262
Oh I didnt read thru all of this but it may be useful >?

http://www.riverlion.com/jpfaq/
0
 

Author Comment

by:webmonkey8
ID: 12081057
Excellent, thanks, it worked. :)
0

Featured Post

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Loops Section Overview
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month11 days, 10 hours left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question