How do I configure medit to display UTF-8?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















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


img UTF-8 encoding



$ echo é | od -t x1
0000000 c3 a9 0a
0000003


But medit doesn't show it correctly:



img UTF-8 encoding



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










share|improve this question



















  • 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
















1















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


img UTF-8 encoding



$ echo é | od -t x1
0000000 c3 a9 0a
0000003


But medit doesn't show it correctly:



img UTF-8 encoding



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










share|improve this question



















  • 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














1












1








1








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


img UTF-8 encoding



$ echo é | od -t x1
0000000 c3 a9 0a
0000003


But medit doesn't show it correctly:



img UTF-8 encoding



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










share|improve this question
















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


img UTF-8 encoding



$ echo é | od -t x1
0000000 c3 a9 0a
0000003


But medit doesn't show it correctly:



img UTF-8 encoding



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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 5 at 15:04









Glorfindel

2831410




2831410










asked Dec 31 '14 at 22:25









SMed79SMed79

286




286







  • 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













  • 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








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











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
);



);













draft saved

draft discarded


















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















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay