On Fri, 25 Jan 2008 18:30:11 +0100
"Felipe Monteiro de Carvalho" <[EMAIL PROTECTED]> wrote:

> On Jan 25, 2008 6:23 PM, Ales Katona <[EMAIL PROTECTED]> wrote:
> > Yes, and I'm not 100% sure of what everything that would constitute
> > (eg: I don't think there's a valid blockchar in multibyte range),
> > but for 99% of usages the current blockchars (+ whitechars) which
> > are < 127 seem to be working fine.
> 
> That's not enougth. It already works for ascii characters today.
> Please test with both unicode and non-unicode IDE on strings with
> accented characters.
> 
> I am also working on that and it ain't that easy, I can tell for sure.
> 
> > P.S: I think synedit will need a lot more work to be 100% "utf-8
> > ready" on all fronts. All the "set of char" things will have to go
> > and we'd have to implement utf-8 "utf8string[x]"
> > operations/functions (afaik fpc doesn't have them yet?)
> 
> You mean like that:
> 
> http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/lclproc.pas?root=lazarus&r1=13868&r2=13867&pathrev=13868

I think this is pretty slow and needs too much memory.
For example:
It increases the Dest array in steps of one while allocating one mem
block for each character.
Can you explain, what are you trying to achieve? Then we can find a
better solution.

Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to