Re: requestEncoding = "ISO-8859-1"
- From: "Mark" <markfield88@xxxxxxxxxxxxx>
- Date: Wed, 8 Feb 2006 14:49:07 -0600
Thank you! I should mention that this whole discussion certainly makes me
wish I had an umlaut in my name. "Mark" is far to bland.
mark
"Joerg Jooss" <news-reply@xxxxxxxxxxxxx> wrote in message
news:94fc5071128468c7fb05d1a56af2@xxxxxxxxxxxxxxxxxxxxxxx
Thus wrote Mark,
You wrote:
*** Therefore, simply mark your static HTML as UTF-8 encoded as well
(and of
course encode them physically using UTF-8 as well!): ***
I placed the META tag in the HTML form file. Your sentence implies
two steps? Sorry - how does one encode them physicially using UTF-8
as well?
Mark, the second step is only required if your HTML file contains non-HTML
encoded non-ASCII.
Example: I can either use "Jörg" or "Jörg" to write my name as some
static HTML. But latter string requires an appropriate encoding for the
HTML source file.
Thus, I need to pick an encoding that is capable of representing the
character 'ö' like UTF-8 or ISO-8859-1. When I save this file, I need to
tell my HTML editor this desired encoding. How this is done depends on the
editor. Notepad for example has an encoding drop-down in its "Save As"
file dialog. Visual Studio has an option for selecting an encoding in its
File menu, as do SciTE or UltraEdit as far as I remember.
But of course one thing always remains true: You must not declare in your
HTML page's META tag an encoding that's different from the one you used to
save the file. Of course the same compatibility rules as in the
request/response scenario apply, but it's best just to keep META
declaration and actual file encoding the same.
Cheers, --
Joerg Jooss
news-reply@xxxxxxxxxxxxx
.
- References:
- Re: requestEncoding = "ISO-8859-1"
- From: Mark
- Re: requestEncoding = "ISO-8859-1"
- From: Joerg Jooss
- Re: requestEncoding = "ISO-8859-1"
- Prev by Date: Re: Maximum Characters per Website
- Next by Date: Re: Basic formatting for HTML in ASP.NET 1.1 ?
- Previous by thread: Re: requestEncoding = "ISO-8859-1"
- Next by thread: Re: requestEncoding = "ISO-8859-1"
- Index(es):
Relevant Pages
|