Tuesday, November 25, 2014

Re: gnome-terminal, azerty keyboard, accents problem

Bonjour,

your issue is off topic on this mailing list, you should better ask on a
general question website like stackexchange, or on a mailing list
matching your distribution.

On Tue, Nov 25, 2014 at 07:22:05AM -0800, petitjean.chiral@gmail.com wrote:
> I see them also when using firefox and OpenOffice, but neither at the shell level with gnome-terminal 2.16.0 nor with vim 7.0.
> The same symptoms appear with the other accentuated vowels reached via pressing two buttons (e.g. to put a circonflex accent on the "a" or else).
> The result of the locale command is:
> LANG=en_US.UTF-8
> LC_CTYPE="C"
> LC_NUMERIC="C"
> LC_TIME="C"
> LC_COLLATE="C"
> LC_MONETARY="C"
> LC_MESSAGES="C"
> LC_PAPER="C"
> LC_NAME="C"
> LC_ADDRESS="C"
> LC_TELEPHONE="C"
> LC_MEASUREMENT="C"
> LC_IDENTIFICATION="C"
> LC_ALL=C

You should configure your shell environment to have:

LANG=fr_FR.UTF-8
LC_ALL=fr_FR.UTF-8

(or en_US.UTF-8 depending on your preference)

Then you have to configure your terminal, in gnome-terminal this is done
within the preferences menu action.

> What should I do to see the accentuated vowels when I type them within a line shell command or when inputting text with vim ?
> I read a huge of web pages about that, but nothing works.

Well, reading is not enough, you have to do what's written in those
pages!

* http://www.perlgeek.de/en/article/set-up-a-clean-utf8-environment

> Once some pertinent change will be found, should I just reopen a new terminal window, or logout then login, or reboot ?
> Thanks for any help.

you shouldn't have to restart anything once it's configured. Though
you'll need to make sure your locales preferences are correctly setup
upon restart.

But go ask on a mailing list dealing with your linux distribution, and
read your distribution's documentation. There's a lot of documentation
well written either in French and English (and other languages too)…

Finally, if you want to test any unicode character in your terminal vim,
you can use the digraphs (<C-k>'e → é), you can read `:h digraph` for
more.

HTH

--
Guyzmo

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: