OVH Cloud OVH Cloud

bash et accent

3 réponses
Avatar
Rodolphe Mosca
Je viens de me rendre compte que je n'ai plus les accents dans les
fenêtres bash sauf dans vim...

Je ne crois pas que cela faisait ca avant la mise à jour 10.3.4

Quelqu'un d'autre a eu le problème ?

3 réponses

Avatar
Jacques Perrocheau
In article <40be5ddf$0$317$,
Rodolphe Mosca wrote:

Je viens de me rendre compte que je n'ai plus les accents dans les
fenêtres bash sauf dans vim...

Je ne crois pas que cela faisait ca avant la mise à jour 10.3.4

Quelqu'un d'autre a eu le problème ?


Dans l'aide:

By default, Terminal lets you drag items named with high-bit characters
to the command line, and to type high-bit characters. High-bit
characters include accented and special characters used in many
languages.

If you can't use high-bit characters, check your Terminal settings. You
may have a configuration that prevents high-bit characters from being
displayed.
1. Choose Terminal > Window Settings.
2. Choose Emulation from the Terminal Inspector pop-up menu.
3. Select "Escape non-ASCII characters."
4. Choose Keyboard from the Terminal Inspector pop-up menu.
5. Deselect "Use option key as meta key" if it is selected.
6. Choose Display from the Terminal Inspector pop-up menu, and
then choose "Unicode (UTF-8)" from the Character Set Encoding pop-up
menu.

IMPORTANT: If you are using tcsh or bash shells, make sure that "Escape
non-ASCII characters" is selected in the Emulation pane of the Terminal
Inspector. If you are using zsh, make sure that it is not selected. Once
you make these settings, tcsh and bash show the escaped form of the
character and zsh shows the actual character.

--
Jacques PERROCHEAU
Synthèse et Electrosynthèse Organiques, C.N.R.S. UMR 6510
Université de Rennes I, Campus de Beaulieu, F-35042 RENNES Cedex
Tel: +33 2 23 23 63 74, Fax: +33 2 23 23 63 74

Avatar
patpro ~ patrick proniewski
In article <c9msm3$r49$,
Jacques Perrocheau wrote:

By default, Terminal lets you drag items named with high-bit characters
to the command line, and to type high-bit characters. High-bit
characters include accented and special characters used in many
languages.

If you can't use high-bit characters, check your Terminal settings. You
may have a configuration that prevents high-bit characters from being
displayed.
1. Choose Terminal > Window Settings.
2. Choose Emulation from the Terminal Inspector pop-up menu.
3. Select "Escape non-ASCII characters."
4. Choose Keyboard from the Terminal Inspector pop-up menu.
5. Deselect "Use option key as meta key" if it is selected.
6. Choose Display from the Terminal Inspector pop-up menu, and
then choose "Unicode (UTF-8)" from the Character Set Encoding pop-up
menu.



bah... de toute maniere ça merde plein pot, y'a pas deux appli où ca va
se comporter pareil.
poubelle les accents.

Meme avec ces réglages je n'ai pas les accents dans le term.
Quand je les tape dans bash :

$ touch 303251303240

quand je les lis dans bash :

$ ls
$ e??a??

quand je les envoie dans un fichier :

$ echo 303251303250303240 > truc
$ cat truc
éèà

$ more truc
<C3><A9><C3><A8><C3><A0>

$ vi truc
éè?|

Et bien sur impossible de les éditer dans pico, sinon c'est pas marrant.

patpro

--
je cherche un poste d'admin UNIX/Mac
http://patpro.net/cv.php

Avatar
Rodolphe Mosca
On 2004-06-03 11:57:23 +0200, Jacques Perrocheau
said:

In article <40be5ddf$0$317$,
Rodolphe Mosca wrote:

Je viens de me rendre compte que je n'ai plus les accents dans les
fenêtres bash sauf dans vim...

Je ne crois pas que cela faisait ca avant la mise à jour 10.3.4

Quelqu'un d'autre a eu le problème ?


Dans l'aide:

By default, Terminal lets you drag items named with high-bit characters
to the command line, and to type high-bit characters. High-bit
characters include accented and special characters used in many
languages.

If you can't use high-bit characters, check your Terminal settings.
You may have a configuration that prevents high-bit characters from
being displayed.
1. Choose Terminal > Window Settings.
2. Choose Emulation from the Terminal Inspector pop-up menu.
3. Select "Escape non-ASCII characters."
4. Choose Keyboard from the Terminal Inspector pop-up menu.
5. Deselect "Use option key as meta key" if it is selected.
6. Choose Display from the Terminal Inspector pop-up menu,
and then choose "Unicode (UTF-8)" from the Character Set Encoding
pop-up menu.

IMPORTANT: If you are using tcsh or bash shells, make sure that
"Escape non-ASCII characters" is selected in the Emulation pane of the
Terminal Inspector. If you are using zsh, make sure that it is not
selected. Once you make these settings, tcsh and bash show the escaped
form of the character and zsh shows the actual character.


je crois que j'ai bien contrôlé et tout est sélectionné comme indiqué :-(

J'utilise bash, pour info, quand je tape un é il m'écrit : 303251
alors que sous vim, un é est bien un é...
(phrase très profonde que celle-ci non ? (un é est un é) (faut vraiment
être informaticien pour ne pas êtr pris pour un cinglé...)