info-gnus-english
[Top][All Lists]
Advanced

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

Re: Non-ASCII string must be encoded in advance. user-full-name


From: Thierry Volpiatto
Subject: Re: Non-ASCII string must be encoded in advance. user-full-name
Date: Sun, 09 Jan 2011 18:26:10 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2.91 (gnu/linux)

Maxi.Matthe@googlemail.com (Maximilian Matthé) writes:

> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>> Maximilian Matthe <Maxi.Matthe@googlemail.com> writes:
>>
>>> Hi,
>>>
>>> I have the following issue. I have this in my .gnus.el:
>>>  
>>> ,----
>>> | (setq user-full-name "Maximilian Matthé")
>>> `----
>>>
>>> Everytime I want to copy sth to the x-clipboard, emacs tells me:
>>>
>>> ,----
>>> | Non-ASCII string must be encoded in advance: "Maximilian Matthé"
>>> `----
>>>
>>> In the message line. If I change my name to "Matthe" that does not
>>> happen.
>>>
>>> - my .gnus.el is saved in iso-8859-15 coding system. My default system
>>>   locale is de_DE.utf-8.
>> If you have a buffer-local config (e.g coding: iso-8859-15), remove it,
>> utf-8 will be used instead.
>>
>
> I have tried saving it in utf-8 before of course, (without any
> buffer-local config and also with), but it produced the same error. I
> tried saving in iso-8859-15 because the é would only have one byte then
> instead of 2 in utf-8.
What do you mean by saving it in utf-8?, what are you doing exactly?

You should save your files with no coding setting, emacs handle that
very well.(it should save to utf-8-emacs)

After saving your file with no coding settings, erase the "é" and rewrite
it, then save again your file, kill buffer, reopen the file, 
maybe that will solve your problem.

If your locale is now *utf-8 you should not use anymore iso-*.

Try also to move cursor on é in your .gnus.el and use describe-char.

> How come, that gnus (or whatever) reads user-full-name, whenever I copy
> sth. to the X-clipboard? 
>
>>> - I use xubuntu 10.10. I pulled gnus at Dec 27.
>>>
>>> Can you help me fixing that differently from changing my name?
>>>
>>> Regards, Max

-- 
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




reply via email to

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