How do you handle YOUR encodings?

erne ernestogiannotta at tiscalinet.it
Thu Apr 8 12:14:01 CDT 2004


Hi Carsten,

on 8-04-2004 10:24, Carsten Friehe at rblists at carsten-friehe.de wrote:

>> I've also a wrapper uVfield class that I use to set/get unicode savvy text
>> to/from vFields
> 
> That is a good idea!
> 
> How do you handle searching inside the database? Or do you never search
> anything?
> 

of course I do searches! (what's a database is for otherwise :?)

I use UTF8 so I don't have the hassle of null bytes
and pass the UTF8 string to the query as usual

of course Vale will deal with it as a bunch of bytes
but, since that's what it's stored into it,
she seems to have no problems with that

Also sort is acceptably correct
(at least with latin languages, don't have a clue of what's the expected
sort of a chinese or arabic language)


Cool Runnings,
Erne.

-- 
|  e r  |  Ernesto Giannotta
|  n e  |  Musical Box - a media store
                   




More information about the Valentina mailing list