Subject | RE: [IBO] UTF-8 handling |
---|---|
Author | Minoru Yoshida |
Post date | 2007-11-03T04:57:06Z |
Hi,
I was reading this thread interestingly.
I also think that UTF-8(and UCS-x) handling will become important in
windows platform.
The firebird will futures ICU's CP943C charcterset of japanese at V2.1.
ICU's transliteration is used in comfort.
The V1.5 or older version had some problems in transliteration.
(InterBase had specification with the old standard characters of
Japanese...)
I will using in V2.1 environments are:
- DB's default character set is UTF-8.
- Client characterset is UTF-8 or CP943C.
- IBO's core contorol and IB_Grid.
- UI contorol's character is win's unicode(tnt/tms contorols etc).
(I cannot waiting for codegear's tiburon...)
I'm testing TIB_Grid for unicode. When tnt contorols are using that very
easy.
Naturally this testing has connected by 'NONE' client charccter set.
My solutions are :
e.g.
IB_Grid.pas
//Canvas.Drawtext(...CellDisplatText..);
WideCanvasTextRec(...,Utf8decode(CellDisplatText)..); //Tnt contorols's
procedure
--
If possible, Please add to user's event of drawtext in TIB_Grid.
e.g.
IB_Grid.pas
if Assigned(FOnUserDrawtext) then FOnUserDrawtext(ACol,ARow..)
else Canvas.Drawtext(...);
I am using IBO in Japan :-)
Regards,
Minoru
I was reading this thread interestingly.
I also think that UTF-8(and UCS-x) handling will become important in
windows platform.
The firebird will futures ICU's CP943C charcterset of japanese at V2.1.
ICU's transliteration is used in comfort.
The V1.5 or older version had some problems in transliteration.
(InterBase had specification with the old standard characters of
Japanese...)
I will using in V2.1 environments are:
- DB's default character set is UTF-8.
- Client characterset is UTF-8 or CP943C.
- IBO's core contorol and IB_Grid.
- UI contorol's character is win's unicode(tnt/tms contorols etc).
(I cannot waiting for codegear's tiburon...)
I'm testing TIB_Grid for unicode. When tnt contorols are using that very
easy.
Naturally this testing has connected by 'NONE' client charccter set.
My solutions are :
e.g.
IB_Grid.pas
//Canvas.Drawtext(...CellDisplatText..);
WideCanvasTextRec(...,Utf8decode(CellDisplatText)..); //Tnt contorols's
procedure
--
If possible, Please add to user's event of drawtext in TIB_Grid.
e.g.
IB_Grid.pas
if Assigned(FOnUserDrawtext) then FOnUserDrawtext(ACol,ARow..)
else Canvas.Drawtext(...);
I am using IBO in Japan :-)
Regards,
Minoru