Subject | Re: [firebird-php] Unicode & Collate |
---|---|
Author | Lester Caine |
Post date | 2005-05-23T20:52:28Z |
michal.720 wrote:
The data archive I had started to create has geographic names from many
languages, but sorting the lists had been a niggle. If I produce a table
of collations against country/region then I can select the right one for
each list.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
> I made a workaround for storing data in Unicode and sorting in anyWe are getting some useful tips tonight ( well it's night here ).
> collation...
>
> Part of query. It works fine :-)
>
> ORDER BY
> CAST ("U"."name_last" AS VARCHAR(200) CHARACTER SET WIN1250)
> COLLATE PXW_CSY
>
>
> For multi-language application it's possible to
> - define default charset and collation for all languages used in application
> - and then use PHP to compose query like this one.
The data archive I had started to create has geographic names from many
languages, but sorting the lists had been a niggle. If I produce a table
of collations against country/region then I can select the right one for
each list.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services