From: Octavian R. <ora...@gm...> - 2006-10-25 12:41:26
|
Hi, Can you tell me how can I set the wanted charset for a certain web page I want to display in an AxWindow object? I want to set it to UTF-8. I have tried some ways, but they are not OK. I have printed the html page into a temporary file with the .htm extension then I have given the path to that file to -control => in the AxWindow constructor or in the "Navigate" method of the object. The page is printed using UTF-8 charset on some computers, and another charset on others. I have seen that if I open the temporary file using Internet Explorer and manually choose to view it using UTF-8, then I open again my program, it is shown correctly using UTF-8 in my program also. But the problem is that I don't know how to be sure that the file is printed always using UTF-8. I have also tried to store in the file: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> ... but it seems that this element doesn't have any effect. Thank you very much. Teddy |