Title: Message
Michal,
 
iso8859-1 is the "Western/European" charset, and is one of the most common charsets.  I don't understand why your code should fail, and I'm not able to reproduce the problem on my machine.  Can you show us the exact code you use to load the contents?  Also, can you show us exactly where the program crashes?

---------
Ehsan Akhgari

List Owner: [EMAIL PROTECTED]

[Email: [EMAIL PROTECTED]; [EMAIL PROTECTED]]
[WWW: http://www.beginthread.com/Ehsan ]

-----Original Message-----
From: BeginThread.com MSVC List [mailto:[EMAIL PROTECTED] On Behalf Of Michal Zuchman
Sent: Monday, April 07, 2003 7:15 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [MSVC] Problem with HTMLWriter

Ok, i found that if i remove the "charset=ISO8859-1" from the html ... the problem is gone.
 
WHY IS THAT?
 
 
-----Original Message-----
From: Michal Zuchman
Sent: Monday, April 07, 2003 2:12 PM
To: '[EMAIL PROTECTED]'
Subject: [MSVC] Problem with HTMLWriter

I'm trying to use Ehsan's HTMLWriter class.
 
The problem is that sometimes the HTMLWriter displays the raw html code in the browser control.
I managed to reproduce the bug in the mfc sample that Ehsan has created.
 
change the htmlWriter.Write( ...
line in the OnInitDialog to write the source of the html file attached to this e-mail.
 
Please let me know what i'm doing wrong.
 
Also, i'm new to this mailing list, could someone please let me know how i can view the mail list.
 
Thanks,
 
Michal.

Reply via email to