Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
icy2005 #1
how to disable charset detection by meta tag
i have page written in UTF-8 Encoding,
but for some reason, i need to put this tag between <header> tag
<meta http-equiv="Content-Type" content="text/html; charset=SHIFT_JIS" />
it seem meta-tag above caused dreamweaver trying to display my page in
shift_jis,
no matter that the right one is UTF8.
anyway to turn off this function? thanks.
icy2005 Guest
-
charset
Hi, I'm a newbee, also in english. The thing is that I have a kind of javascript based search engine that use a .txt as its database, it has... -
CFChart and UTF-8 charset
Hello to everybody. I have a problem with the CFChart. I have to create a chart (and this is ok after installing Xlibraries on the server) but I... -
How to disable copy/past (selectable='disable') fromTextArea
How to disable copy/past and text selection ability from TextArea? <mx:Text has a nice selectable='false' propertie, but TextAre hasn't. Very,... -
Help - charset problem
Hi My supplier just upgraded control panel to Plesk 7. Suddenly all my php/mysql pages stopped supporting "chrset" in the meta tag, for example: ... -
how to disable parallel port plug and play device detection
Hello all, Does anyone know how to disable parallel port plug and play device detection? I have created a silent install for a printer but... -
John Donaldson #2
Re: how to disable charset detection by meta tag
Hi there,
icy2005 wrote:Its not really clear from your subject/question what you want to do. Are> i have page written in UTF-8 Encoding, but for some reason, i need to
> put this tag between <header> tag <meta http-equiv="Content-Type"
> content="text/html; charset=SHIFT_JIS" />
>
> it seem meta-tag above caused dreamweaver trying to display my page
> in shift_jis, no matter that the right one is UTF8. anyway to turn
> off this function? thanks.
you trying to include content from a UTF-8 encoded page into a page
encoded as SHIFT_JIS? If you just have one page, encoded as UTF-8, then
you should be putting a meta tag in the document head which specifies
that the page is encoded as UTF-8:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
-----
You *should* correctly identify the encoding used in the page. You
cannot have a page encoded in one encoding and declare it to be another.
Sorry if I have misunderstood and if that doesn't help could you
possibly try to restate the problem in different terms?
John
John Donaldson Guest
-
icy2005 #3
Re: how to disable charset detection by meta tag
thank you for your kind reply.
the page will need some of php process therefor it need to be written in
UTF-8, regardless the last result will need to be converted into shift-jis.
Below is the scheme of the process :
UTF-8 Page (with Shift-JIS meta tag) --> Adding some PHP process --> Convert
Into Shift-Jis --> Shift-Jis Page (Shift-JIS Meta tag)
I am using Dreamwaver for editing and managing those pages. It is just fine,
whenever user switched into *design view*, dreamwaver will try to interpret
html-tags inside the page. but i just wondering how to turn off this function
on *code view*.
i am sorry if i misunderstood the basic purpose of this great software, but i
tought the code view well oriented for programmer instead of html designer. it
will be nice if html-tags interpretation could be turned on/off for code view,
as programmer works with code instead of html tags.
icy2005 Guest
-
John Donaldson #4
Re: how to disable charset detection by meta tag
icy2005 wrote:
If the document is being assembled server-side by re-encoding fragments> regardless the last result will need to be converted into shift-jis.
from different text encodings, wouldn't server-side when you create the
final result be the most logical place to write the page's encoding
information as well?
If you explicitly declare an encoding for a document, I think its at> i tought the code view well oriented for programmer instead of html
> designer. it will be nice if html-tags interpretation could be
> turned on/off for code view,
least a little bit strange to expect it to be ignored. That really
doesn't have anything to do with how you view the document, as source
markup or as a layout. I may be missing something obvious, but I don't
see any immediate way of telling DW to ignore an explicit declaration of
the document's encoding. Again, I'm wondering if server-side would be
the more logical place to have the final encoding written to match the
actual encoding of the document?
John
John Donaldson Guest
-
icy2005 #5
Re: how to disable charset detection by meta tag
thank you John,
least a little bit strange to expect it to be ignored.> If you explicitly declare an encoding for a document, I think its at
I agree. Just hope DW could offer an option to force specific charset
encoding on their next release.
most browser offers flexibility to choose the charset automatically or defined
one by user.
the more logical place to have the final encoding written to match the> I'm wondering if server-side would be
actual encoding of the document?
unfortunately, some server-side language having problems with certain charset
encoding,
and there is nothing we could do with it. sigh...T.T
meanwhile, the best way just strip out the charset tag when editing with DW,
and add it later
before display it to the browser. i really enjoy this great software.
once again, thank you for your kind assistance John.
icy2005 Guest



Reply With Quote

