|
|||||||
| TX Text Control ActiveX Please use this forum for TX Text Control ActiveX support only. If you need support for a different product, please use the appropriate forum. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
LoadFromMemory for HTML containing Unicode characters
Here's my second HTML-related question for the day:
I am trying to read-in HTML text that includes some Unicode characters with the LoadFromMemory method. If I use the format 4 (HTML) it loads the HTML correctly, but the Unicode characters get dropped, or replaced with "?". If I use format 6 (Unicode), then the Unicode characters come in, but obviously it displays the embedded HTML codes. If the HTML is saved as a file, and the Load method is used (with format 4), then the Unicode characters are correctly displayed. However, I would *strongly* prefer not to have to code it this way, as this is content coming from a database, so always having to create a temporary file in order to display it correctly is not very efficient. Is there any way around this?? -Kurt Here is a sample: <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> </HEAD> <BODY> <P><FONT SIZE=2>En ny kandidat har søgt på proselection.dk.<BR> <BR> - First : Søren<BR> - Ansøgningsdato :<BR> - Sag titel : Ambitiøs controller søges til veletableret virksomhed<BR> - City : København S<BR> - Land : Danmark<BR> - Lønkrav inkl. pension :<BR> - Jobstatus : I job<BR> - Administrativ : Aktiv<BR> <BR> </FONT> </P> </BODY> </HTML> |
|
#2
|
||||
|
||||
|
Re: LoadFromMemory for HTML containing Unicode characters
Hi Kurt,
I guess that the Unicode characters are already lost after you got that HTML from the database. Could you please check that? Also, how do you exactly retreive the content from the database?
__________________
Regards, Gunnar Giffey, TX Text Control [Forum Administrator] |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unicode characters | Ron | TX Text Control ActiveX Server | 14 | August 28, 2006 09:55:15 |
| Problem saving unicode into PDF format | peals97 | TX Text Control ActiveX | 3 | July 7, 2006 14:32:53 |
| Unicode characters to tables? | JarnoL | TX Text Control ActiveX Server | 1 | September 23, 2004 12:16:07 |
| Tx Text Control Unicode Support | Omaar | TX Text Control ActiveX | 2 | September 28, 2003 23:45:51 |