bug-gnu-emacs
[Top][All Lists]
Advanced

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

Emacs 22.1.1 and incorrect locale-coding-system on N810


From: Vincent Lefevre
Subject: Emacs 22.1.1 and incorrect locale-coding-system on N810
Date: Sun, 6 Apr 2008 23:45:19 +0200
User-agent: Mutt/1.5.17-vl-r21552 (2008-03-11)

Hi,

I've installed Emacs 22.1.1 on my Nokia N810. I got the package here:

  http://danielsz.freeshell.org/code/mine/emacs-for-maemo/index.shtml

But it sets locale-coding-system to iso-8859-1 (I've tried both
"emacs -q -nw" and "emacs -Q -nw") instead of utf-8.

FYI:

Nokia-N810-50-2:~> locale
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE=POSIX
LC_MONETARY="en_US"
LC_MESSAGES=en_US
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
Nokia-N810-50-2:~> locale charmap
UTF-8

The following C program also outputs UTF-8:

#include <stdio.h>
#include <locale.h>
#include <langinfo.h>

int main (void)
{
  setlocale (LC_ALL, "");
  printf ("%s\n", nl_langinfo (CODESET));
  return 0;
}

Regards,

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)




reply via email to

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