Re: [Zope] Zope & international characters
Rik Hoekstra wrote:
Hi there, I don't know if this has ever asked before... I got Zcatalog on my Zope site and it runs beutifully EXCEPT that it will only find words that are in English -and 80% of my site is in Greek !
The finding part seems to imply you use the Catalog. If so, that is right, the Catalog only accepts standard ascii (as used for English). And in general, python (the language Zope works with) does not handle unicode. All this will probably change in the (not too far) future, but for now, there is not much to be done about it I'm afraid.
This seems odd to me, as I've successfully used Catalog on portuguese words that have accents. I set the locale using -L when starting up zope, and everything works fine. -- ethan mindlace fremen mindlace@imeme.net zope -&- imap email -&- mailing list weave your web with the web at http://imeme.net
mindlace wrote:
This seems odd to me, as I've successfully used Catalog on portuguese words that have accents. I set the locale using -L when starting up zope, and everything works fine.
Very, very interesting ! I have not set the locale. In fact, I didn't know that thing existed as a Zope startup option. Do you know if there's a zope-locale-howto or something else to read ? I can't find anything by searching in www.zope.org. Dimitris Andrakakis http://atlas.central.ntua.gr:8000/~mc94068
Dimitris Andrakakis wrote:
mindlace wrote:
This seems odd to me, as I've successfully used Catalog on portuguese words that have accents. I set the locale using -L when starting up zope, and everything works fine.
Very, very interesting ! I have not set the locale. In fact, I didn't know that thing existed as a Zope startup option. Do you know if there's a zope-locale-howto or something else to read ? I can't find anything by searching in www.zope.org.
Just look at z2.py For me, all i did was start -L pt_PT (as opposed to pt_BR). You probably want to start -L gr , or, if your machine is really working in that locale, then just start -L should work. (need I mention that AFAIK this is a unix thing?) Good luck, -- ethan mindlace fremen mindlace@imeme.net zope -&- imap email -&- mailing list weave your web with the web at http://imeme.net
participants (2)
-
Dimitris Andrakakis -
mindlace