Re: wxHtmlWindow encoding
Vadim Zeitlin <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 28 Oct 2024 06:38:08 -0700 (PDT) Сергей Коныгин wrote:
> I want to use a wxHtmlWindow to view html files. How can I specify encoding
> of a input html file? I can't find an information in the help.
I don't think you can specify it outside the HTML file itself currently,
so you would need to inject a <meta> tag with the appropriate "http-equiv"
attribute into the HTML being parsed itself, e.g. something like
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
https://www.tt-solutions.com/
signature.asc
(application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQx+vLQdOwioQqkxtoG6kHeT2wehgUCZzUNaQAKCRAG6kHeT2we hk54AJ9Wr+bq5/0fUQFRh90QKylhjA9rHQCfbdhZiKPly1MzSaIudYmiWRvH8W8= =PKb5 -----END PGP SIGNATURE-----