gnue-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNUe-dev] Gnue and Greek UTF-8


From: David Ayers
Subject: Re: [GNUe-dev] Gnue and Greek UTF-8
Date: Mon, 08 Sep 2008 22:14:29 +0200

Am Montag, den 08.09.2008, 21:15 +0300 schrieb John Proios:
> > Yes
> > one of issues is if change my /etc/mysql/my.cnf to this
> >
> > default-character-set=utf8
> > init-connect = "SET NAMES utf8"
> > character-set-client-handshake
> > character-set-client-handshake=0
> > skip-character-set-client-handshake
> >
> >
> > and mysql have now this setings
> > +--------------------------+----------------------------+
> > | Variable_name | Value |
> > +--------------------------+----------------------------+
> > | character_set_client | utf8 |
> > | character_set_connection | utf8 |
> > | character_set_database | utf8 |
> > | character_set_filesystem | binary |
> > | character_set_results | utf8 |
> > | character_set_server | utf8 |
> > | character_set_system | utf8 |
> > | character_sets_dir | /usr/share/mysql/charsets/ |
> > +--------------------------+----------------------------+
> >
> > All from this time is ok. Install from svn the gnue and make samples 
> > data and conf file to this:
> > connections.conf
> > [gnue]
> > comment = GNUe Test Database
> > aliases = dcl test
> > provider = mysql
> > host = localhost
> > dbname = gnue
> > [appserver]
> > comment = Connection to the GNUe Application Server
> > provider = appserver
> > rpctype = xmlrpc
> > host = localhost
> > port = 8765
> > transport = http
> > authentication = no
> >
> > gnue.conf
> > change only the ;textEncoding = utf-8

IIRC, the textEncoding should default to utf-8, but it's OK to set if
you are having issues (just in case).

> > if run the ~/bin/gfcvs appserver://..../address_person the form open 
> > in UI curses and if press key greek the program break.
> > The error is ´utf8´ codec can´t decode byte 0xcf....
> >
> > if install python-wxgtk2.8 and run the gnue-form with UI wx26 all work 
> > fine.

> > What have in gnue-forms curces ? bug ?

Ahh... OK!

> yes. find the problem.
> 
> The issue is the python.
> I install debian etch (python 2.4.4 & python-wx2.6) and create on 
> /usr/lib/python2.4/site-packages a file sitecustomize.py with this commands:
> import.sys
> sys.setdefaultencoding('UTF-8')
> 
> The deferent with preview problem is it my disto is ubuntu with default 
> python 2.5 & python-wx2.8.
> 
> I don´t know how setup the gnue with python2.5 and python-wx2.8

OK.  Maybe you could still open a bug report just so that we can can be
sure to test it before the next release.

> All now with debian etch work fine.

That's good to know!

Cheers,
David






reply via email to

[Prev in Thread] Current Thread [Next in Thread]