Jump to content

ObjCreate("Shell.Explorer.2") with unicode coding ?


tobi95
 Share

Recommended Posts

when i use ObjCreate("Shell.Explorer.2") for an embedded interrnet explorer control it won't display unicode characters properly altho my IE is set to unicode and displays the same page properly. anyone an idea ? thx in advance. i hope someone has the trick.

Edited by tobi95
Link to comment
Share on other sites

ooops i think i found the answer. i did not save the html properly to my harddrive. wrong fileopen mode.

which mode is recommended to save unicode html pages ?

32 = Use Unicode UTF16 Little Endian reading and writing mode. Reading does not override existing BOM.

64 = Use Unicode UTF16 Big Endian reading and writing mode. Reading does not override existing BOM.

128 = Use Unicode UTF8 (with BOM) reading and writing mode. Reading does not override existing BOM.

256 = Use Unicode UTF8 (without BOM) reading and writing mode.

16384 = When opening for reading and no BOM is present, use full file UTF8 detection. If this is not used then only the initial part of the file is checked for UTF8.

no. i tried every mode, the unicode characters are not displayed in the embed control. i have no idea

Edited by tobi95
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...