[V4MD] special language character search
Ruslan Zasukhin
sunshine at public.kherson.ua
Tue Oct 28 18:06:45 CST 2003
on 10/28/03 17:16, Martin Kloss at martin.kloss at gmx.de wrote:
Hi Martin,
> how does Valentina search (regex and normal) for high ascii chars
> in string / text fields?
>
> I have a db with lots of characters with diacritics (German Umlaute,
> Czech characters, Spanish, Danish etc. etc.). The user can input
> these characters into the db by clicking on a tool which displays
> all of these characters as a map. We created a true type font which
> includes all of our needed characters, but most of them are not
> existing in any other font, i.e. system fonts like Arial.
>
> When the record is retrieved from the db, the text is displayed in
> the same font to make sure that all characters get displayed correctly.
> Everything works fine so far.
>
> Now the user has a search interface to search for records and
> the above mentioned input tool to insert the special characters,
> i.e. for spelling a Polish or German name into the search field.
>
> What I would like to know is how Valentina searches internally
> for these characters. Do they get mapped to ASCII codes?
Yes, of course they are stored as ASCII chars.
For search Valentina use your settings of Language of Field,
To set locale for it. Then Valentina use system calls.
RegEx works in little harder way -- it is third party library so I just set
correct locale before its call and call library.
--
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