How to get the codepage id of the current document?
chernyshevsky_at_hotmail.com
Date: 12/22/04
- Next message: Igor Tandetnik: "Re: How to get the codepage id of the current document?"
- Previous message: Alex Blekhman: "Re: How to reconstruct DOM hierarchy from WebBrowser Control events?"
- Next in thread: Igor Tandetnik: "Re: How to get the codepage id of the current document?"
- Reply: Igor Tandetnik: "Re: How to get the codepage id of the current document?"
- Messages sorted by: [ date ] [ thread ]
Date: 22 Dec 2004 14:38:33 -0800
Is there an easy way to get the codepage identifier of the current
document? The program I'm writing uses IHTMLDocument::script to invoke
Javascript functions on the page. Some of arguments are going to text
strings. They are going to be encoded the way as the document HTML.
Since IDispatch wants Unicode text I need to do character conversions
before invoking the methods.
I've tried IHTMLDocument2::charSet, but it doesn't give me the same
text label as the GetCPInfoEx().
- Next message: Igor Tandetnik: "Re: How to get the codepage id of the current document?"
- Previous message: Alex Blekhman: "Re: How to reconstruct DOM hierarchy from WebBrowser Control events?"
- Next in thread: Igor Tandetnik: "Re: How to get the codepage id of the current document?"
- Reply: Igor Tandetnik: "Re: How to get the codepage id of the current document?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|