Closed GoogleCodeExporter closed 9 years ago
Today,I test it again.
On ExtP Toolkit,it did not support Chinese character.
Only use ExtPascal,it support Chinese character.
Original comment by luoca...@gmail.com
on 22 Dec 2009 at 2:59
You tested using:
Charset := 'utf-8'; // ??? It is the default
If not ok try other Charset.
Original comment by wanderla...@gmail.com
on 22 Dec 2009 at 6:02
Original comment by wanderla...@gmail.com
on 22 Dec 2009 at 6:11
Original comment by wanderla...@gmail.com
on 22 Dec 2009 at 6:12
Original comment by wanderla...@gmail.com
on 6 Jan 2010 at 12:49
Hi,on Lazarus(with ExtP Toolkit),use the unicode,after run,if will display
Chinese.
procedure TMainWindow.ExtButton2Click;
begin
ExtButton2.Text:=#20013#25991;
end;
Original comment by luoca...@gmail.com
on 11 Jan 2010 at 3:50
I tried(with ExtP Toolkit)
Charset := 'utf-8';
Charset := 'gbk';
Charset := 'gb2312';
all can't display Chinese.
Original comment by luoca...@gmail.com
on 11 Jan 2010 at 5:27
A same program,on Delphi,use Chinese string,run ok,and display Chinese
character
fine.
But on Lazarus,after run,it will garbled,not display fine.
view the HTML source,charset is utf-8
<meta http-equiv="content-type" content="charset=utf-8" />
Original comment by luoca...@gmail.com
on 12 Jan 2010 at 3:39
The Chinese string search from the MYSQL DB,it will dipslay fine
Original comment by luoca...@gmail.com
on 12 Jan 2010 at 3:41
I put the Chinese string into a text file.Load it in program.
and set
Charset := 'utf-8';
it work ok.
I think the reason is Lazarus support UTF-8,and delphi7 is AnsiString.
Original comment by luoca...@gmail.com
on 12 Jan 2010 at 9:44
On WindowsXP, this method is OK..
I put the Chinese string into a text file.Load it in program.
and set
Charset := 'utf-8';
it work ok.
I think the reason is Lazarus support UTF-8,and delphi7 is AnsiString.
But on Linux(RedHat),it did not work ok.
On Linux(Lazarus),direct use the Chinese character,it will work OK.maybe the OS
diff.
such as
FieldLabel := '中文';//Chinese
it will ok.
Original comment by luoca...@gmail.com
on 12 Jan 2010 at 10:31
Original comment by wanderla...@gmail.com
on 15 Jan 2010 at 4:47
Original issue reported on code.google.com by
luoca...@gmail.com
on 2 Nov 2009 at 8:19