[V4RB] RegEx search and UTF-8

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Jul 22 12:33:52 CDT 2004


On 7/22/04 11:46 AM, "Eric Ferrer" <wonderfef at noos.fr> wrote:

Hi Eric,

> Thanks to the power of Valentina and RegEx, I was able to add a very cool
> "find anything" tool to my application, i.e:
> 
> type "borea" and Valentina will find "Boréales" using
> Select Name from Clients where name like 'b[oöôò]r[eêëéè][aâäà]' no_case
> 
> But now that I'm using RB 5.5, "Borˆ©ales" is stored in my record instead of
> "Boréales", things are getting tricky...

I think you should in RB convert from UTF8 to single byte enoding before you
store into Valentina.

This was mentioned on list few times

> Select Name from Clients where name like 'boréa' no_case -> OK
> Select Name from Clients where name like 'b[oöôò]r[eêëéè]' no_case -> OK
> Select Name from Clients where name like 'b[oöôò]r[eêëéè][aâäà]' no_case ->
> no result.
> 
> Is there any work around or shoulf I have to wait for v2.0 ?

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list