George Birbilis schreef:
I had such dificulties lately trying to manage Unicode texts.
List members guided me to use UTF...* set of functions to
manipulate Unicode strings and finally I got it. I'm not a
high skilled programmer but because I mostly deal with such
texts (it is Greek you see) I may think something.
If it is on Windows visual component should support Unicode,
your code may have no problem. There are available such
components. If it is on Linux, I think you have to compile
with gtk2 in order to get Unicode support. In any case font
used should also support alphabets used in text.
* you can use UTF8Copy() instead of Copy(), UTF8Pos instead
of Pos() etc. This set of functions is implemented in lclproc.
Btw, have you seen
http://mh-nexus.de/unisynedit.htm
It says:
Unicode support for Windows&Linux without depending on any additional
library or component package.
Added new unit SynUnicode.pas that contains Unicode versions of often used
string-functions.
It's TWideStrings & TWideStringsList-classes were taken from JCL, adapted to
be cross-plattform and generate smaller executables.
Not sure if this has progressed, but maybe Lazarus should follow that branch
of SynEdit in the future, or fix that too to work with Lazarus if it doesn't
(is there any doc of the fixes done to SynEdit [maybe some Diff between the
Lazarus SynEdit and SynEdit1.1] to support Lazarus?)
Every change the lazarus team made to the source code is in {$IFDEF
SYN_LAZARUS}.
Do a find in files, to see the changes.
Vincent
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives