encoding problem with Emacs notmuch.el (æøå)

2011-09-26 Thread Petter Reinholdtsen

[Petter Reinholdtsen]
> (Hm, now I hope the characters are encoded as UTF-8.  Time will
> tell. :)

Hm, it ended up as ISO-8859-1.  Anwway, I was able to get around the
problem by commenting out this block from my .emacs file and start
emacs using LC_CTYPE=nb_NO.UTF-8:

  (set-language-environment "Latin-1")
  (if (featurep 'mule)
  (set-language-environment "Latin-1")
(set-input-mode (car (current-input-mode))
   (nth 1 (current-input-mode))
   0)
(standard-display-european t))

Happy hacking,
-- 
Petter Reinholdtsen



Re: encoding problem with Emacs notmuch.el (æøå)

2011-09-26 Thread Petter Reinholdtsen

[Petter Reinholdtsen]
 (Hm, now I hope the characters are encoded as UTF-8.  Time will
 tell. :)

Hm, it ended up as ISO-8859-1.  Anwway, I was able to get around the
problem by commenting out this block from my .emacs file and start
emacs using LC_CTYPE=nb_NO.UTF-8:

  (set-language-environment Latin-1)
  (if (featurep 'mule)
  (set-language-environment Latin-1)
(set-input-mode (car (current-input-mode))
   (nth 1 (current-input-mode))
   0)
(standard-display-european t))

Happy hacking,
-- 
Petter Reinholdtsen

___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: encoding problem with Emacs notmuch.el (æøå)

2011-09-22 Thread Petter Reinholdtsen
[David Bremner]
 Hi Erik; 

 Sorry this is a bit formulaic, but:

 Can you tell us your locale, and maybe provide a test message, so that
 we can try an duplicate the problem? Also can you try with a minimal
 .emacs, just enough to load notmuch.

I see the same problem with Norwegian characters.  The UTF-8 bytes are
shown as ISO-8859 characters and not as the characters I expect.  To
allow you to test this, I added the norwegian characters in the
subject.  I use this on a machine with LC_CTYPE=nb_NO and 'locale
charmap' returning ISO-8859-1.

Here is another copy: æøåÆØÅ

This should show 3 lower case letters and 3 upper case letters, one
'ae' combination, one o with a slash from lower left to upper right,
and finally the letter a with a small ring above it.

(Hm, now I hope the characters are encoded as UTF-8.  Time will
tell. :)

Happy hacking,
-- 
Petter Reinholdtsen

___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


encoding problem with Emacs notmuch.el (æøå)

2011-09-21 Thread Petter Reinholdtsen
[David Bremner]
> Hi Erik; 
>
> Sorry this is a bit formulaic, but:
>
> Can you tell us your locale, and maybe provide a test message, so that
> we can try an duplicate the problem? Also can you try with a minimal
> .emacs, just enough to load notmuch.

I see the same problem with Norwegian characters.  The UTF-8 bytes are
shown as ISO-8859 characters and not as the characters I expect.  To
allow you to test this, I added the norwegian characters in the
subject.  I use this on a machine with LC_CTYPE=nb_NO and 'locale
charmap' returning ISO-8859-1.

Here is another copy: ??

This should show 3 lower case letters and 3 upper case letters, one
'ae' combination, one o with a slash from lower left to upper right,
and finally the letter a with a small ring above it.

(Hm, now I hope the characters are encoded as UTF-8.  Time will
tell. :)

Happy hacking,
-- 
Petter Reinholdtsen



encoding problem with Emacs notmuch.el

2011-02-26 Thread Erik Colson
Ehlo,

I installed notmuch with the notmuch.el interface.
Works well except for an encoding problem.
In the *notmuch-search- buffer, encoding is wrong. This is also true for
the article buffers.

Look at this screenshot which shows the problem.
-- next part --
A non-text attachment was scrubbed...
Name: Screen shot 2011-02-26 at 15.05.08.png
Type: image/png
Size: 23934 bytes
Desc: not available
URL: 

-- next part --

Please note that entering accentuated chars in the *notmuch-hello*
buffer works correctly and searches are executed correctly.

Any ideas ?

Best
-- 
erik colson
ecocode.net


encoding problem with Emacs notmuch.el

2011-02-26 Thread David Bremner
On Sat, 26 Feb 2011 15:12:12 +0100, Erik Colson  wrote:
> Ehlo,
> 
> I installed notmuch with the notmuch.el interface.
> Works well except for an encoding problem.
> In the *notmuch-search- buffer, encoding is wrong. This is also true for
> the article buffers.

Hi Erik; 

Sorry this is a bit formulaic, but:

Can you tell us your locale, and maybe provide a test message, so that
we can try an duplicate the problem? Also can you try with a minimal
.emacs, just enough to load notmuch.

Thanks,

David


encoding problem with Emacs notmuch.el

2011-02-26 Thread Erik Colson
Ehlo,

I installed notmuch with the notmuch.el interface.
Works well except for an encoding problem.
In the *notmuch-search- buffer, encoding is wrong. This is also true for
the article buffers.

Look at this screenshot which shows the problem.
attachment: Screen shot 2011-02-26 at 15.05.08.png
Please note that entering accentuated chars in the *notmuch-hello*
buffer works correctly and searches are executed correctly.

Any ideas ?

Best
-- 
erik colson
ecocode.net
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch