Subject | Re: [firebird-support] Re: Greek collate for firebird 1.5 on linux |
---|---|
Author | Giannis Vrentzos |
Post date | 2003-08-28T08:04:14Z |
peter_jacobi.rm wrote:
Thanks a lot!!
Gvre
> Hi GiannisI 'll test the script when i go home.
>
> --- In firebird-support@yahoogroups.com, Giannis Vrentzos wrote:
>
>>I already did this but i' m taking the following error [...]
>
>
> See below for a working SQL script to be used by
> isql -e -i greek.sql
>
> As possibly the greek characters get disturbed
> on the way to you, I also appended an uuencoded
> version of the script.
>
> It all assumes that your Linux box (or X11, or
> whatever is responsible in your environemnt) is
> configured to ISO-8859-7
>
> *** begin of script
>
> set names ISO-8859-7;
> create database '/greek-test.fdb' user 'sysdba' password 'masterkey';
> create table t1 (
> c1 smallint not null primary key,
> c2 varchar(64) character set WIN1253 collate PXW_GREEK
> );
>
> commit;
>
> insert into t1 values (1, 'ABC');
> insert into t1 values (2, 'DEF');
> insert into t1 values (3, 'Αναλυτικές πληροφορίες για την πολιτική,');
> insert into t1 values (4, 'τη νομοθεσία και τα προγράμματα της');
> insert into t1 values (5, 'Ευρωπαϊκής Ενωσης σχετικά με τον τουρισμό');
> insert into t1 values (6, 'μπορείτε να βρείτε στον κόμβο της Ε.Ε., στην');
> insert into t1 values (7, 'διεύθυνση: http://europa.eu.int/index_el.htm');
> insert into t1 values (8, 'και στον κόμβο του γραφείου της Ευρωπαϊκής');
> insert into t1 values (9, 'Επιτροπής στην Ελλάδα, στην διεύθυνση:
> http://www.ee.gr');
>
> commit;
>
> select * from t1;
>
> *** end of script
>
> begin 0777 greek.sql
> M<V5T(&YA;65S($E33RTX.#4Y+3<[#0IC<F5A=&4@9&%T86)A<V4@)R]G<F5E
> M:RUT97-T+F9D8B<@=7-E<B G<WES9&)A)R!P87-S=V]R9" G;6%S=&5R:V5Y
> M)SL-"F-R96%T92!T86)L92!T,2 H#0H@(" @8S$@<VUA;&QI;G0@;F]T(&YU
> M;&P@<')I;6%R>2!K97DL#0H@(" @8S(@=F%R8VAA<B@V-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