Re: login.conf and accents weirdness
* Jean-Baptiste Quenot [EMAIL PROTECTED] [20031102 16:24]: * Joan Picanyol i Puig: It works for me, the accentuated chars show up in xterm... It doesn't for me, nor in console or under X. I'm pasting underneath what I see from the console (excerpt from the test file): 3) Run the command LC_CTYPE=ca_ES.ISO8859-15 more mail.test Ok, es_ES works but ca_ES doesn't. I'm on RELENG_4_9, what are you running? I believe misc/45874 has not been MFC'ed. I have a _big_ problem now. I upgraded to samba-3.0.0 which defaults to using UTF-8 instead of doing charset conversion by itself. User profiles stored in the server don't work because 8-bit characters are not translated properly. I'm downloading the full cvs repo now in order to try to make a patch, will this work? (17:22:18 /usr/src/share) 0 $ cvs diff -r RELENG_4_9 -r RELENG_5_1 colldef/ mklocale/ monetdef/ msgdef/ numericdef/ syscons/ timedef/ zoneinfo/ tks -- pica ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: login.conf and accents weirdness
* Joan Picanyol i Puig: It works for me, the accentuated chars show up in xterm... It doesn't for me, nor in console or under X. I'm pasting underneath what I see from the console (excerpt from the test file): What I suggest is: 1) Restore login.conf and shell profile as it was 2) Test in X11 as it is more reliable than the console (no need to set fonts) 3) Run the command LC_CTYPE=ca_ES.ISO8859-15 more mail.test Once you get the desired result, modify your environment or login class accordingly. I just read Using Localization[1] again in the handbook, but I didn't discover anything obvious. The only case where I can reproduce your result is: LC_CTYPE=us-ascii more mail.test. Best regards, -- Jean-Baptiste Quenot http://caraldi.com/jbq/ [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localization.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: login.conf and accents weirdness
* Joan Picanyol: I can't see accents in mutt's internal pager (even though I can see them in vim). I've read iconv(), terminfo() and the Internalization section in the Handbook among others, but I'm out of ideas. * In console or in X11? * If X11, what terminal emulator do you use? * What shell do you use? * What language and especially encoding has your mail? I suggest to set LC_CTYPE=es_ES.ISO8859-15 in your shell's init file, and don't forget to export that variable (export with [ba]sh, setenv with [t]csh). Also, please test with more or less, not mutt, so it will be easier to find the solution. Make a test file with special characters not in the 7-bit range, and view it. Cheers, -- Jean-Baptiste Quenot http://caraldi.com/jbq/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: login.conf and accents weirdness
[please honour MFT, not subscribed] * Jean-Baptiste Quenot [EMAIL PROTECTED] [20031101 12:12]: * In console or in X11? Both * If X11, what terminal emulator do you use? xterm * What shell do you use? bash * What language and especially encoding has your mail? (15:23:01 ~/tmp) 0 $ grep ontent mail.test Content-Type: text/plain; charset=iso-8859-1; format=flowed I suggest to set LC_CTYPE=es_ES.ISO8859-15 in your shell's init file, and don't forget to export that variable (export with [ba]sh, setenv with [t]csh). I have these lines in /etc/login.conf :setenv=LC_CTYPE=ISO8859-15,LANG=ca_ES.ISO8859-15: \ :lang=ca_ES.ISO-8859-15:\ :charset=ISO8859-15:\ Also, please test with more or less, not mutt, so it will be easier to find the solution. Make a test file with special characters not in the 7-bit range, and view it. I'm attaching my test file (an actual message). Both under xterm and console the results are the sime: cat works fine but more and less do not. Where's the culprit? tks -- pica ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: login.conf and accents weirdness
* Joan Picanyol i Puig: I suggest to set LC_CTYPE=es_ES.ISO8859-15 in your shell's init file, and don't forget to export that variable (export with [ba]sh, setenv with [t]csh). I have these lines in /etc/login.conf :setenv=LC_CTYPE=ISO8859-15,LANG=ca_ES.ISO8859-15: \ :lang=ca_ES.ISO-8859-15:\ :charset=ISO8859-15:\ LC_CTYPE is wrong. Also, please test with more or less, not mutt, so it will be easier to find the solution. Make a test file with special characters not in the 7-bit range, and view it. I'm attaching my test file (an actual message). Both under xterm and console the results are the sime: cat works fine but more and less do not. Where is the attachment? Cheers, -- Jean-Baptiste Quenot http://caraldi.com/jbq/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: login.conf and accents weirdness
[I expect mutt to properly set MFT, if it didn't please Cc: me] * Jean-Baptiste Quenot [EMAIL PROTECTED] [20031101 15:53]: * Joan Picanyol i Puig: I have these lines in /etc/login.conf :setenv=LC_CTYPE=ISO8859-15,LANG=ca_ES.ISO8859-15: \ :lang=ca_ES.ISO-8859-15:\ :charset=ISO8859-15:\ LC_CTYPE is wrong. Yep, I changed it to both ca_ES.ISO8859-15 and es_ES.ISO8859-15 and made no difference. Also, please test with more or less, not mutt, so it will be easier to find the solution. Make a test file with special characters not in the 7-bit range, and view it. I'm attaching my test file (an actual message). Both under xterm and console the results are the sime: cat works fine but more and less do not. Where is the attachment? Oops, now it's there tks -- pica Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 725 invoked from network); 13 Oct 2003 00:59:37 - Received: from hobbes.biaix.org (192.168.124.6) by 0 with SMTP; 13 Oct 2003 00:59:37 - Received: (qmail 20317 invoked by alias); 13 Oct 2003 01:04:38 - Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Subscribe: mailto:[EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] Received: (qmail 20308 invoked from network); 13 Oct 2003 01:04:37 - X-Originating-IP: [24.232.15.158] X-Originating-Email: [EMAIL PROTECTED] From: =?iso-8859-1?B?YWxiZXJ0IGliYfFleiBzYW5haHVqYQ==?= [EMAIL PROTECTED] To: [EMAIL PROTECTED] Bcc: Subject: noves velles, elles, elles Date: Mon, 13 Oct 2003 01:04:48 + Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: [EMAIL PROTECTED] X-OriginalArrivalTime: 13 Oct 2003 01:04:48.0479 (UTC) FILETIME=[FF9CCEF0:01C39125] Eco, eco,eco, co, co..co...co...co...o.o.o.o oo.oo.oo. Hi ha algú a l'altre banda o estic al 'planeta dels simis'? sol amb el floquet, i la seva aixella tuberculosa... Un dia d'aquests de segur que em trobaré amb el que quedà de la sagrada familía; (a la terra prohibida de la Catagònia, vora l'oceà; diuen que s'hi han vist les restes d' un monument mega-elíptic de singular bellesa contruit per éssers de civilitzacions passades); deu ser això...despres d'un llarg letargi a través de l'espai inter-celest-i-tal he retornat al mateix indret de procedencia, convertit en paisatge lunar i desolador si no fos per una crónica, una espurna d'esperaça que arribà ahir signada pen PICA, (Persona Identificada Com Androide potser) i jo pregunto ¿ com recollons s'entra de nou a la virtualitat compartida???, eu canviat el correu o es que no s'envien més bits d'informaciò. Les úniques dades de que disposo són les d'un desalentador 5-3, a_viram si ens posem les ales colla de garseso haurem de venir a repartir llenya... qui la busca la troba, la brega la verga i el que faci falta. Ja ha començat la NBA, el master of the univers in the stars? (MBA 'Marc Bernat Administrators' altrement dit en referencia al draft d'aquesta pretemporada o ' Millor que a Buenos Aires' pels escèptics...) Doncs bè, per BsAs tot segueix igual de diferent, uns dies plou i els altres fa sol i les bruixes patinen i el colectivo treu verí, el fútbol mou les muntanyes i Maradona escombra tota la neu caiguda durant el llarg hivern. Demà es 'feriado nacional', coincideix amb l'aniversari de l'astre, el mago Diego,( no sè qui va ser primer si l'astre o el feriado) la meva teorìa es que van convencer a en Diego perque canvies la seva partida de naixement per tal de donbar-li un sentit al dia Festiu... Es pronostica una pujada de temperatures, necesaria per restablir l'equilibri global, a uns els toca patir el fred i als altres gaudir del calor i els rodamons com jo compartir i jugar amb la bola del mòn, ara cap aqui ara cap allì i anar amoldant el clima a les necesitats corporees... Presisament demà arriben tambè els meus pares, disposats a escombrar-se mig continent, el punt d'inici ,com no, Bs As, com si tinguessim telepatia, venen al mateix lloc on jo estic, el que no saben és que aixo es immens, i que poden trigar dos mesos en trobar-me... La nova més significativa és que l'1 de novembre em mudo a un piset junt amb dos alemanys i dos argentins al bell mig del barri de la BOCA, lluny dels turistes i de les influencies europees. Es el primer barri que tinguè la ciutat, construit per italians, encara preserva el color i l'activitat frenetica de carrer, pero avui en dia te fama de ser la zona mès perillosa de la ciutat, ja veurem... o ja veuran...Per que us feu una idea, allì es on ve naixer i es va criar en Riquelme, (a on es va deprimir mès ben dit), i la Bombonera està a dos cuadres i tres estables del piset, (potser ens farem socis de Boca). Tot i així el caseta és molt acollidora, té un patì compartit amb tres altres cases,
Re: login.conf and accents weirdness
* Joan Picanyol i Puig: * Jean-Baptiste Quenot [EMAIL PROTECTED] [20031101 15:53]: * Joan Picanyol i Puig: I have these lines in /etc/login.conf :setenv=LC_CTYPE=ISO8859-15,LANG=ca_ES.ISO8859-15: \ :lang=ca_ES.ISO-8859-15:\ :charset=ISO8859-15:\ LC_CTYPE is wrong. Yep, I changed it to both ca_ES.ISO8859-15 and es_ES.ISO8859-15 and made no difference. Try: LC_CTYPE=ca_ES.ISO8859-15 more mail.test It works for me, the accentuated chars show up in xterm... could you dump the result of « env » to check your settings? BTW you can check whether a given locale is available by looking at /usr/share/locale. Also, when modifying login.conf, don't forget to logout completely from X *and* console. Cheers, -- Jean-Baptiste Quenot http://caraldi.com/jbq/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: login.conf and accents weirdness
* Jean-Baptiste Quenot [EMAIL PROTECTED] [20031101 19:09]: * Joan Picanyol i Puig: * Jean-Baptiste Quenot [EMAIL PROTECTED] [20031101 15:53]: * Joan Picanyol i Puig: I have these lines in /etc/login.conf :setenv=LC_CTYPE=ISO8859-15,LANG=ca_ES.ISO8859-15: \ :lang=ca_ES.ISO-8859-15:\ :charset=ISO8859-15:\ LC_CTYPE is wrong. Yep, I changed it to both ca_ES.ISO8859-15 and es_ES.ISO8859-15 and made no difference. Try: LC_CTYPE=ca_ES.ISO8859-15 more mail.test It works for me, the accentuated chars show up in xterm... It doesn't for me, nor in console or under X. I'm pasting underneath what I see from the console (excerpt from the test file): Eco, eco,eco, co, co..co...co...co...o.o.o.o oo.oo.oo. Hi ha algFA a l'altre banda o estic al 'planeta dels simis'? sol amb el floquet, i la seva aixella tuberculosa... Un dia d'aquests de segur que em trobarE9 amb el que quedE0 de la sagrada familEDa; (a la terra prohibida de la CatagF2nia, vora l'oceE0; diuen que s'hi I wonder how you see it... could you dump the result of « env » to check your settings? attached BTW you can check whether a given locale is available by looking at /usr/share/locale. (19:47:33 ~) 0 $ ls /usr/share/locale/ca_ES.ISO* /usr/share/locale/ca_ES.ISO8859-1: LC_COLLATE LC_MONETARY LC_NUMERIC LC_TIME /usr/share/locale/ca_ES.ISO8859-15: LC_COLLATE LC_MONETARY LC_TIME /usr/share/locale/ca_ES.ISO_8859-1: LC_COLLATE LC_MONETARY LC_NUMERIC LC_TIME /usr/share/locale/ca_ES.ISO_8859-15: LC_COLLATE LC_MONETARY LC_TIME Beware, these are local modifications and might work. However, replacing ca for es doesn't work either (and es_ES comes with the system) Also, when modifying login.conf, don't forget to logout completely from X *and* console. I assume setting variables shoud work (from my reading of login.conf, all it does in this context is set up the environment...) tks -- pica BASH=/usr/local/bin/bash BASH_VERSINFO=([0]=2 [1]=05b [2]=0 [3]=1 [4]=release [5]=i386-portbld-freebsd4.7) BASH_VERSION='2.05b.0(1)-release' BLOCKSIZE=K CLICOLOR= COLUMNS=80 DIRSTACK=() EDITOR=vim EUID=1000 GROUPS=() HISTFILE=/home/joan/.bash_history HISTFILESIZE=500 HISTSIZE=500 HOME=/home/joan HOSTNAME=grummit.biaix.org HOSTTYPE=i386 IFS=$' \t\n' INFOPATH=/usr/share/info:/usr/local/info LANG=ca_ES.ISO8859-15 LC_CTYPE=ca_ES.ISO8859-15 LINES=25 LOGNAME=joan MACHTYPE=i386-portbld-freebsd4.7 MAIL=/home/joan/Maildir/ MAILCHECK=60 MANPATH=/usr/share/man:/usr/local/man:/var/qmail/man/ MM_CHARSET=ISO8859-15 OPTERR=1 OPTIND=1 OSTYPE=freebsd4.7 PAGER=less PATH=/command:/bin:/usr/bin:/usr/local/bin:/command:/usr/X11R6/bin:/usr/games:/home/joan/bin:/usr/sbin:/usr/local/sbin:/sbin PIPESTATUS=([0]=0) PPID=272 PS1='(\[$(tput md)\]\t \w\[$(tput me)\]) $(echo $?) \$ ' PS2=' ' PS4='+ ' PWD=/home/joan SHELL=/usr/local/bin/bash SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor SHLVL=1 TERM=cons25l1 UID=1000 USER=joan _=LC_CTYPE ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]