[Zope] ExternalEditor and Umlauts
Oliver Bleutgen
myzope@gmx.net
Mon, 17 Feb 2003 18:10:20 +0100
Marius Gedminas wrote:
> On Mon, Feb 17, 2003 at 05:28:22PM +0100, Oliver Bleutgen wrote:
>
>>I'm having some problems using ExternalEditor/gvim with umlauts. The
>>irritating thing is that this is the first time this happens.
>
> [...]
>
>>So, either I have to solve the mystery how to get rid of the UTF-8
>>encoding, or I have to find out how to teach external editor/gvim
>>UTF-8.
>>
>>Any hints/comments?
>
>
> I suggest that you use UTF-8, or you'll encounter additional problems
> later (e.g. when you find that you need the Euro sign somewhere).
>
> To edit UTF-8 text with gvim use the following settings:
>
> set encoding=UTF-8
> set guifont=-misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso10646-1
> " any font with iso10646-1 enocoding will do
> set termencoding=ISO-8859-1 " depends on your locale, if you set
> " this wrong, you'll be able to see but
> " not type
>
> Marius Gedminas
Thanks for the hints. But the problem is that this method doesn't work
when you have this mixed ISO-8859-1/UTF-8 situation. If I do what you
describe here, the server which mozilla doesn't identify as UTF-8
enoding (the development server in my scenario) won't work. And seeing
the problems talked about in zope-dev about zope's UTF-8 compability,
I'm not sure I want to walk this road now for all servers here.
cheers,
oliver