RE: How-To handle i18n when you don't know charset?

From: Mike Brown (
Date: Tue Jul 11 2000 - 14:30:35 EDT

> The initial default encoding for documents is the same as
> the Windows system code page (GetACP()). As user chooses an
> encoding from the View.Encoding menu, it becomes the new
> default.

My own experimentation with IE5 indicates that it only becomes the new
default if the user has Auto-Select (in the View > Encoding menu) off. When
Auto-Select is on, the default (and thus, document.defaultCharset) cannot be

Regardless of the Auto-Select setting, user selections do change how the
current document is interpreted (and thus, document.charset is modified).


This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:05 EDT