docinthebox

I have Chinese names and URLs in my favorites list. When I tried to export the favorites using the Import/Export Wizard, I examined the output xml file (bookmark.htm) and all the Chinese characters are gone, replaced with " ".

I have the various Chinese languages (zh-HK, zh-CN, zh-TW) in the list at Internet Options > Languages but apparently this didn't matter.

Does the IE7 favorites Import/Export Wizard support Unicode, or is there a way to make it support Unicode

Thanks!



Re: Internet Explorer Web Development Does the IE7 Favorites Import/Export Wizard support Unicode?

Garrett McGowan MSFT

I've just tried this myself, with similar results. It appears as though the Import/Export Wizard outputs the HTM file as an ANSI stream. Unlike a page 'Save As' operation, I don't know of a way to force it to output this file as Unicode.

If your Chinese language favorites are all of one persuasion (Simplified or Traditional), you could (using Administrator privileges):
1) Load Regional and Language Options via Control Panel
2) Temporarily change the Windows sytem locale to match the target language
3) Reboot the system
4) Run the wizard and export the file
5) Open bookmark.htm in Notepad, then save it as Unicode
6) Reset your Windows system locale and reboot

Personally, I'd call this a globalization bug in the Import/Export Wizard.





Re: Internet Explorer Web Development Does the IE7 Favorites Import/Export Wizard support Unicode?

docinthebox

Thanks for looking into this.

I manually edited the output file "bookmark.htm" in notepad to correct the " " back to the original Chinese characters, then saved the file in Unicode. I then tried to import the Unicode favorites file into IE7 on another computer. IE7 gave error "Bad format". So apparently, both import and export can work with ANSI files only.





Re: Internet Explorer Web Development Does the IE7 Favorites Import/Export Wizard support Unicode?

Garrett McGowan MSFT

After checking with the IE team, it turns out that this limitation was intentionally left in the feature in order to ensure compatibility with 3rd-party Web browsers.