Jump to content



Photo

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


  • Please log in to reply
1 reply to this topic

#1 tobi95

tobi95

    Seeker

  • Active Members
  • 16 posts

Posted 10 March 2012 - 10:25 PM

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, 10 March 2012 - 10:27 PM.








#2 tobi95

tobi95

    Seeker

  • Active Members
  • 16 posts

Posted 10 March 2012 - 10:31 PM

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, 11 March 2012 - 01:02 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users