kooloveme / thtmlviewer

Automatically exported from code.google.com/p/thtmlviewer
Other
0 stars 0 forks source link

Korean Text and Question Mark Problem on Win7 #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Can't show korean text it is cut. 
2. dynamic loading of text with question mark(?) cut only compiled in 
Windows 7(windows xp no problem).

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by dop...@gmail.com on 31 May 2010 at 8:27

GoogleCodeExporter commented 9 years ago
we were able to fix the korean. but we can't find the question mark problem. it 
seems 
like it's been replaced with an empty string. but it occurs only in win7.

Original comment by dop...@gmail.com on 31 May 2010 at 9:08

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for spotting this issue. 

Could you please post an example html file and screenshots of it in the 
HtmlViewer before and after your fix and please highlight the differences. It 
is very hard for use to see, what's correct or not, as noone here understands 
korean.

Separate question mark examples or separately marked in the above examples 
would be great. Thanks for your support.

Original comment by OrphanCat on 24 Sep 2010 at 3:10

GoogleCodeExporter commented 9 years ago
Please try r96 and post feedback. 
Thanks.

Original comment by OrphanCat on 6 Dec 2010 at 9:31

GoogleCodeExporter commented 9 years ago
Set priority to Low as I got no answer since 3 months.

Original comment by OrphanCat on 1 Jan 2011 at 12:51

GoogleCodeExporter commented 9 years ago

Original comment by OrphanCat on 26 Feb 2011 at 1:34

GoogleCodeExporter commented 9 years ago
i made a program both compiled in WinXP and Win7 and see the difference. The 
korean were already fixed with the latest svn version of htmlviewer but the 
question mark problem still exists.

Original comment by dop...@gmail.com on 28 Feb 2011 at 2:49

Attachments:

GoogleCodeExporter commented 9 years ago
Attached please find, what I see with your apps executed on XP. There is 
vanishing more than the question mark. 

I copied the upper text into a UTF-16 file and viewed it with the HtmlViewer 
demo program FrameDem.exe (D2007 compiled on XP). After changing HtmlViewer's 
Charset to HANGEUL_CHARSET the korean characters could be seen. This suggests, 
that Charsets (and fonts) may influence the question mark visibility.

Would it be possible, that you post the source code of the program. Important 
details are the html file of the upper text (or is it just a string?) and 
encoding/charset/codepage of the upper text and HtmlViewer and the fonts the 
upper Memo and the HtmlViewer are using and the method you use to put the 
text/file into the HtmlViewer. 

Which compiler do you use? 

Original comment by OrphanCat on 28 Feb 2011 at 10:08

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I am using Delphi 2009. With Korean as Default Locale so i am using Default 
Charset. The code is just a simple load from string. I have a memo with this 
text in it.
//Memo 
<HTML>The 솓 벼ㅑ차 ㅠ개주 ㄹ태 ㅓㅕㅡㅔㄴ ㅐㅍ
ㄷㄱ 솓 ㅣㅁ쿄 앺 quick brown fox?
Are you sure? Did you follow the rules?
<HTML>
//Load here..
HTMLViewer1.LoadFromString(Memo1.Text);

Original comment by dop...@gmail.com on 1 Mar 2011 at 3:15

GoogleCodeExporter commented 9 years ago

Original comment by OrphanCat on 21 Nov 2011 at 10:54

GoogleCodeExporter commented 9 years ago
Issue 94 has been merged into this issue.

Original comment by OrphanCat on 21 Nov 2011 at 10:55

GoogleCodeExporter commented 9 years ago
Did you try to write the text into a file and load it from file/stream instead?

Does the '?' vanish this way too?

In LiveHtml-Exe.zip you can find a test program like yours using HtmlViewer 11+ 
compiled with D2009 on Win7. The brown fox is shown including the '?'. (It's 
called HtmlViewer 11+ as it is not exactly HtmlViewer 11, but for this test it 
doesn't matter)

In LiveHtml-Sources.zip you can find the source code. Please compile it and 
test again.

Thank you for your support.

Original comment by OrphanCat on 8 Dec 2011 at 11:10

Attachments:

GoogleCodeExporter commented 9 years ago
Issue 123 has been merged into this issue.

Original comment by OrphanCat on 5 Feb 2012 at 7:04

GoogleCodeExporter commented 9 years ago
Hello! Good day to you! 

I have encountered the same problem with '?' not showing in my pages. I've 
already installed the HTMLViewer 11.2 version but still not working. I'm using 
Delphi 2009 on Windows 7. 

I've also tried the LiveHTML-Exe.zip and LiveHTML-Sources.zip provided above. 
When running the exe you provided, the '?' is working perfectly. But when I 
opened the source and compiled it in my IDE, the problem occurred again. I 
tried changing the Charset property to HANGEUL_CHARSET but still the problem 
persists. I used the same sample text for consistency. 

<HTML>The 솓 벼ㅑ차 ㅠ개주 ㄹ태 ㅓㅕㅡㅔㄴ ㅐㅍ
ㄷㄱ 솓 ㅣㅁ쿄 앺 quick brown fox?
Are you sure? Did you follow the rules?
<HTML>

I've attached the executables compiled with the HANGUEL_CHARSET and 
DEFAULT_CHARSET settings.

Hope to hear from you soon!
Thank you. 

Original comment by allanrig...@gmail.com on 11 May 2012 at 8:41

Attachments:

GoogleCodeExporter commented 9 years ago
Allan,

sorry for the late answer. 

Which is your Windows system charset? 
I guess this issue depends on the Windows system charset.

Your applications don't show the '?' here in my Western Windows 7 (64-bit).

Thanks for testing.
OrphanCat

Original comment by OrphanCat on 5 Jul 2012 at 9:46

GoogleCodeExporter commented 9 years ago
OrphanCat,

Hello! Thanks for responding. 

We are using Korean charset.

Original comment by allanrig...@gmail.com on 13 Jul 2012 at 8:03

GoogleCodeExporter commented 9 years ago
Please, can someone with a windows with korean charset as default test this 
issue again? Since release 11.4 HtmlViewer does all char conversions on its own 
and there is a chance that the question mark is visible now.

Original comment by OrphanCat on 24 Apr 2014 at 5:27

GoogleCodeExporter commented 9 years ago
Hi!

I'm using 11.4 HtmlViewer version, or can not be displayed question marks?

I'm  use charset is DEFAULT_CHARSET

os:Windows 7 64bit
Delphi :Delphi XE3

Original comment by game...@gmail.com on 15 May 2014 at 9:12

GoogleCodeExporter commented 9 years ago
@gameadd

thanks for posting, but I cannot figure out, what the message is :(

Do you see the question mark?

Do you use a korean windows?

Thanks for another answer in advance.

OrphanCat

Original comment by OrphanCat on 1 Jun 2014 at 6:25

GoogleCodeExporter commented 9 years ago
@OrphanCat

thank for maintain,I was using your DEMO program, there is no change to the 
program itself, but still can not display a question mark. 

So I guess the compiler will not be Delphi 7 and Delphi Xe3 problems, so the 
program can not display a question mark to normal

Original comment by game...@gmail.com on 6 Jun 2014 at 7:50