How do I configure medit to display UTF-8?
Clash Royale CLAN TAG#URR8PPP
My environment is set to use UTF-8. I produce a file in UTF-8 encoding. It works correctly on the terminal.
For example:
$ echo ééé > test
$ cat test
$ echo é | od -t x1
0000000 c3 a9 0a
0000003
But medit doesn't show it correctly:
I am using Manjaro xfce 0.8.11 / x86_64 and my locale.conf
is LANG=fr_FR.UTF-8
.
When displaying other locales, such as Arabic or Chinese characters, I don't have this issue!
A similar issue from a user on the manjaro.fr forums : Problème encodage UTF-8 NON valide
locale character-encoding manjaro medit
add a comment |
My environment is set to use UTF-8. I produce a file in UTF-8 encoding. It works correctly on the terminal.
For example:
$ echo ééé > test
$ cat test
$ echo é | od -t x1
0000000 c3 a9 0a
0000003
But medit doesn't show it correctly:
I am using Manjaro xfce 0.8.11 / x86_64 and my locale.conf
is LANG=fr_FR.UTF-8
.
When displaying other locales, such as Arabic or Chinese characters, I don't have this issue!
A similar issue from a user on the manjaro.fr forums : Problème encodage UTF-8 NON valide
locale character-encoding manjaro medit
2
The problem is with yourmedit
application that seems to assume the file uses an iso8859-1 (or -15) encoding and not UTF-8. 0xc3 0xa9 isé
in UTF-8 andé
in iso-8859-1 or iso-8859-15 (aka latin1 and latin9)
– Stéphane Chazelas
Dec 31 '14 at 22:39
What makes you think the UTF-8 encoding is invalid? It looks like medit is the culprit here. To confirm, post the output ofecho é | od -t x1
.
– Gilles
Dec 31 '14 at 23:09
@StéphaneChazelas using "Mousepad" screenshot Mousepad using "gedit" screenshot Mousepad and $ echo é | od -t x1 give me : 0000000 c3 a9 0a - 0000003
– SMed79
Jan 1 '15 at 5:50
Which confirms what @Gilles and I said: that's valid UTF-8 but medit treats it as Latin1
– Stéphane Chazelas
Jan 1 '15 at 7:52
I have submit a bug issue to "medit" home page sourceforge.net/p/mooedit/bugs/185 Thank you for support and help.
– SMed79
Jan 2 '15 at 1:30
add a comment |
My environment is set to use UTF-8. I produce a file in UTF-8 encoding. It works correctly on the terminal.
For example:
$ echo ééé > test
$ cat test
$ echo é | od -t x1
0000000 c3 a9 0a
0000003
But medit doesn't show it correctly:
I am using Manjaro xfce 0.8.11 / x86_64 and my locale.conf
is LANG=fr_FR.UTF-8
.
When displaying other locales, such as Arabic or Chinese characters, I don't have this issue!
A similar issue from a user on the manjaro.fr forums : Problème encodage UTF-8 NON valide
locale character-encoding manjaro medit
My environment is set to use UTF-8. I produce a file in UTF-8 encoding. It works correctly on the terminal.
For example:
$ echo ééé > test
$ cat test
$ echo é | od -t x1
0000000 c3 a9 0a
0000003
But medit doesn't show it correctly:
I am using Manjaro xfce 0.8.11 / x86_64 and my locale.conf
is LANG=fr_FR.UTF-8
.
When displaying other locales, such as Arabic or Chinese characters, I don't have this issue!
A similar issue from a user on the manjaro.fr forums : Problème encodage UTF-8 NON valide
locale character-encoding manjaro medit
locale character-encoding manjaro medit
edited Feb 5 at 15:04
Glorfindel
2831410
2831410
asked Dec 31 '14 at 22:25
SMed79SMed79
286
286
2
The problem is with yourmedit
application that seems to assume the file uses an iso8859-1 (or -15) encoding and not UTF-8. 0xc3 0xa9 isé
in UTF-8 andé
in iso-8859-1 or iso-8859-15 (aka latin1 and latin9)
– Stéphane Chazelas
Dec 31 '14 at 22:39
What makes you think the UTF-8 encoding is invalid? It looks like medit is the culprit here. To confirm, post the output ofecho é | od -t x1
.
– Gilles
Dec 31 '14 at 23:09
@StéphaneChazelas using "Mousepad" screenshot Mousepad using "gedit" screenshot Mousepad and $ echo é | od -t x1 give me : 0000000 c3 a9 0a - 0000003
– SMed79
Jan 1 '15 at 5:50
Which confirms what @Gilles and I said: that's valid UTF-8 but medit treats it as Latin1
– Stéphane Chazelas
Jan 1 '15 at 7:52
I have submit a bug issue to "medit" home page sourceforge.net/p/mooedit/bugs/185 Thank you for support and help.
– SMed79
Jan 2 '15 at 1:30
add a comment |
2
The problem is with yourmedit
application that seems to assume the file uses an iso8859-1 (or -15) encoding and not UTF-8. 0xc3 0xa9 isé
in UTF-8 andé
in iso-8859-1 or iso-8859-15 (aka latin1 and latin9)
– Stéphane Chazelas
Dec 31 '14 at 22:39
What makes you think the UTF-8 encoding is invalid? It looks like medit is the culprit here. To confirm, post the output ofecho é | od -t x1
.
– Gilles
Dec 31 '14 at 23:09
@StéphaneChazelas using "Mousepad" screenshot Mousepad using "gedit" screenshot Mousepad and $ echo é | od -t x1 give me : 0000000 c3 a9 0a - 0000003
– SMed79
Jan 1 '15 at 5:50
Which confirms what @Gilles and I said: that's valid UTF-8 but medit treats it as Latin1
– Stéphane Chazelas
Jan 1 '15 at 7:52
I have submit a bug issue to "medit" home page sourceforge.net/p/mooedit/bugs/185 Thank you for support and help.
– SMed79
Jan 2 '15 at 1:30
2
2
The problem is with your
medit
application that seems to assume the file uses an iso8859-1 (or -15) encoding and not UTF-8. 0xc3 0xa9 is é
in UTF-8 and é
in iso-8859-1 or iso-8859-15 (aka latin1 and latin9)– Stéphane Chazelas
Dec 31 '14 at 22:39
The problem is with your
medit
application that seems to assume the file uses an iso8859-1 (or -15) encoding and not UTF-8. 0xc3 0xa9 is é
in UTF-8 and é
in iso-8859-1 or iso-8859-15 (aka latin1 and latin9)– Stéphane Chazelas
Dec 31 '14 at 22:39
What makes you think the UTF-8 encoding is invalid? It looks like medit is the culprit here. To confirm, post the output of
echo é | od -t x1
.– Gilles
Dec 31 '14 at 23:09
What makes you think the UTF-8 encoding is invalid? It looks like medit is the culprit here. To confirm, post the output of
echo é | od -t x1
.– Gilles
Dec 31 '14 at 23:09
@StéphaneChazelas using "Mousepad" screenshot Mousepad using "gedit" screenshot Mousepad and $ echo é | od -t x1 give me : 0000000 c3 a9 0a - 0000003
– SMed79
Jan 1 '15 at 5:50
@StéphaneChazelas using "Mousepad" screenshot Mousepad using "gedit" screenshot Mousepad and $ echo é | od -t x1 give me : 0000000 c3 a9 0a - 0000003
– SMed79
Jan 1 '15 at 5:50
Which confirms what @Gilles and I said: that's valid UTF-8 but medit treats it as Latin1
– Stéphane Chazelas
Jan 1 '15 at 7:52
Which confirms what @Gilles and I said: that's valid UTF-8 but medit treats it as Latin1
– Stéphane Chazelas
Jan 1 '15 at 7:52
I have submit a bug issue to "medit" home page sourceforge.net/p/mooedit/bugs/185 Thank you for support and help.
– SMed79
Jan 2 '15 at 1:30
I have submit a bug issue to "medit" home page sourceforge.net/p/mooedit/bugs/185 Thank you for support and help.
– SMed79
Jan 2 '15 at 1:30
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f176882%2fhow-do-i-configure-medit-to-display-utf-8%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f176882%2fhow-do-i-configure-medit-to-display-utf-8%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
The problem is with your
medit
application that seems to assume the file uses an iso8859-1 (or -15) encoding and not UTF-8. 0xc3 0xa9 isé
in UTF-8 andé
in iso-8859-1 or iso-8859-15 (aka latin1 and latin9)– Stéphane Chazelas
Dec 31 '14 at 22:39
What makes you think the UTF-8 encoding is invalid? It looks like medit is the culprit here. To confirm, post the output of
echo é | od -t x1
.– Gilles
Dec 31 '14 at 23:09
@StéphaneChazelas using "Mousepad" screenshot Mousepad using "gedit" screenshot Mousepad and $ echo é | od -t x1 give me : 0000000 c3 a9 0a - 0000003
– SMed79
Jan 1 '15 at 5:50
Which confirms what @Gilles and I said: that's valid UTF-8 but medit treats it as Latin1
– Stéphane Chazelas
Jan 1 '15 at 7:52
I have submit a bug issue to "medit" home page sourceforge.net/p/mooedit/bugs/185 Thank you for support and help.
– SMed79
Jan 2 '15 at 1:30