close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

UTF-8 instead of ISO-8859-1 proposal again

Thread began 4/30/2010 10:58 am by this_is_me | Last modified 5/11/2010 1:48 pm by Jason Byrnes | 1524 views | 8 replies |

this_is_me

UTF-8 instead of ISO-8859-1 proposal again

I made a proposal to change these settings some while ago. I would like to urge this again.
If using the wizard it creates pages with:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
Mind: This old-fashioned setting does not even contain the Euro sign! What would you guys say if you had to put &Dollar; instead of $ ?
If you like the movie "Blueberry Nights", you might wonder what the name &#1050;&#1083;&#1102;&#1095; on the Coffee bar door meant?
Yes: Key.
Have fun to show this on a ISO 8859-1 coded page!

Sign in to reply to this post

Jason ByrnesWebAssist

what version of Dreamweaver / DataAssist are you using. All of my DataAssist pages using DWCS4 and DA 2.0.6 are creating using the utf-8 character set:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Sign in to reply to this post

this_is_me

my version

DW CS3 with Data Assist 2.0.6 on a WIN7 / 64 box
Strange, this happens every time I use the wizard for creating search / results / ... pages. UTF-8 is the standard (default encoding)

Sign in to reply to this post

Jason ByrnesWebAssist

are you using ASP as the server language, I just noticed in the source for one of the DA files, it is forcing iso-8859-1 for asp pages.


look in:
configuration/Shared/WebAssist/ApplicationBuilder/AppBuilder_Object.js

try changing line 1053-1069

if(this.docType == 'ASP-JS'){ 
var dom = WA_getDocumentDOM( WA_getConfigurationPath('/DocumentTypes/NewDocuments/Default_JS.asp'));
dom.setCharSet('iso-8859-1');
dom.documentElement.outerHTML = dom.documentElement.outerHTML.replace(/charset="/, 'charset=iso-8859-1"');
updatePageDirective(dom);
}else if(this.docType == 'ASP-VB'){
var dom = WA_getDocumentDOM( WA_getConfigurationPath('/DocumentTypes/NewDocuments/Default_VB.asp'));
dom.setCharSet('iso-8859-1');
dom.documentElement.outerHTML = dom.documentElement.outerHTML.replace(/charset="/, 'charset=iso-8859-1"');
updatePageDirective(dom);
}else{
var dom = dw.getNewDocumentDOM();
}




to:

if(this.docType == 'ASP-JS'){ 
var dom = dw.getNewDocumentDOM();
}else if(this.docType == 'ASP-VB'){
var dom = dw.getNewDocumentDOM();
}else{
var dom = dw.getNewDocumentDOM();
}
Sign in to reply to this post

this_is_me

Thanks

I found these lines and changed them but I use php server model...

Sign in to reply to this post

tom250037Beta Tester

How about changing it in Dreamweaver preferences?
Edit > Preferences > New Document
Change Default encoding to Unicode (UTF-8)

Sign in to reply to this post

this_is_me

Thanks

but this of course is the first setting I check before I start working with a newly installed Dreamweaver.
As I said, I very often need to build pages for different languages. And ISO-8859-1 definitely is not an option for such a task.

Sign in to reply to this post

tom250037Beta Tester

I thought you had probably tried that, but I thought I would check. Sometimes people miss the obvious. I know I have done that myself.

good luck on this one!

Tom

Sign in to reply to this post

Jason ByrnesWebAssist

Hmmm, not sure what the problem is. I'm going to log this as a bug to have our engineers look into fixing it in the next update to data assist, it should use the default character set you select in the settings.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...