Changed language, now terminal isn't working right

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












0















  • Everything was working fine. I could connect into the system with PuTTY, and everything would display correctly.

  • I changed the language from English to Spanish using some GUI tool.

  • I changed the language back to English again (i.e., everything should now be back to how it was).

  • Various terminal programs no longer use the Unicode box-drawing characters any more.


    • lsblk now uses the verticle-pipe and backtick characters.


    • htop does likewise.


    • tmux uses rows of x characters (also q and a few others).

    • Problem appears both with and without tmux running.


  • Output from locale looks the same as before.

  • PuTTY has apparently set TERM=xterm, which has what it was before.

I'm really not sure what other settings would affect terminal rendering... but this is really driving me nuts!










share|improve this question
























  • Crawling through lsblk using GDB, it appears it uses libsmartcols to do the table drawing.

    – MathematicalOrchid
    Feb 18 at 17:26











  • It seems changing LC_CTYPE=en_GB to en_GB.utf8 fixes tmux, but not lsblk.

    – MathematicalOrchid
    Feb 22 at 13:19















0















  • Everything was working fine. I could connect into the system with PuTTY, and everything would display correctly.

  • I changed the language from English to Spanish using some GUI tool.

  • I changed the language back to English again (i.e., everything should now be back to how it was).

  • Various terminal programs no longer use the Unicode box-drawing characters any more.


    • lsblk now uses the verticle-pipe and backtick characters.


    • htop does likewise.


    • tmux uses rows of x characters (also q and a few others).

    • Problem appears both with and without tmux running.


  • Output from locale looks the same as before.

  • PuTTY has apparently set TERM=xterm, which has what it was before.

I'm really not sure what other settings would affect terminal rendering... but this is really driving me nuts!










share|improve this question
























  • Crawling through lsblk using GDB, it appears it uses libsmartcols to do the table drawing.

    – MathematicalOrchid
    Feb 18 at 17:26











  • It seems changing LC_CTYPE=en_GB to en_GB.utf8 fixes tmux, but not lsblk.

    – MathematicalOrchid
    Feb 22 at 13:19













0












0








0








  • Everything was working fine. I could connect into the system with PuTTY, and everything would display correctly.

  • I changed the language from English to Spanish using some GUI tool.

  • I changed the language back to English again (i.e., everything should now be back to how it was).

  • Various terminal programs no longer use the Unicode box-drawing characters any more.


    • lsblk now uses the verticle-pipe and backtick characters.


    • htop does likewise.


    • tmux uses rows of x characters (also q and a few others).

    • Problem appears both with and without tmux running.


  • Output from locale looks the same as before.

  • PuTTY has apparently set TERM=xterm, which has what it was before.

I'm really not sure what other settings would affect terminal rendering... but this is really driving me nuts!










share|improve this question
















  • Everything was working fine. I could connect into the system with PuTTY, and everything would display correctly.

  • I changed the language from English to Spanish using some GUI tool.

  • I changed the language back to English again (i.e., everything should now be back to how it was).

  • Various terminal programs no longer use the Unicode box-drawing characters any more.


    • lsblk now uses the verticle-pipe and backtick characters.


    • htop does likewise.


    • tmux uses rows of x characters (also q and a few others).

    • Problem appears both with and without tmux running.


  • Output from locale looks the same as before.

  • PuTTY has apparently set TERM=xterm, which has what it was before.

I'm really not sure what other settings would affect terminal rendering... but this is really driving me nuts!







terminal locale language






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 11 at 18:22









Jeff Schaller

42.9k1159137




42.9k1159137










asked Feb 11 at 18:04









MathematicalOrchidMathematicalOrchid

2,36961845




2,36961845












  • Crawling through lsblk using GDB, it appears it uses libsmartcols to do the table drawing.

    – MathematicalOrchid
    Feb 18 at 17:26











  • It seems changing LC_CTYPE=en_GB to en_GB.utf8 fixes tmux, but not lsblk.

    – MathematicalOrchid
    Feb 22 at 13:19

















  • Crawling through lsblk using GDB, it appears it uses libsmartcols to do the table drawing.

    – MathematicalOrchid
    Feb 18 at 17:26











  • It seems changing LC_CTYPE=en_GB to en_GB.utf8 fixes tmux, but not lsblk.

    – MathematicalOrchid
    Feb 22 at 13:19
















Crawling through lsblk using GDB, it appears it uses libsmartcols to do the table drawing.

– MathematicalOrchid
Feb 18 at 17:26





Crawling through lsblk using GDB, it appears it uses libsmartcols to do the table drawing.

– MathematicalOrchid
Feb 18 at 17:26













It seems changing LC_CTYPE=en_GB to en_GB.utf8 fixes tmux, but not lsblk.

– MathematicalOrchid
Feb 22 at 13:19





It seems changing LC_CTYPE=en_GB to en_GB.utf8 fixes tmux, but not lsblk.

– MathematicalOrchid
Feb 22 at 13:19










1 Answer
1






active

oldest

votes


















0














Well, I thought the locale was still set the same... but it wasn't.



It turns out previously the locale was en_GB.utf8, whereas now it's just en_GB.



Setting this to the correct value outside of tmux seems to make everything behave correctly again.



A quirk is that for this to take effect inside tmux, it appears you have to exit all sessions, set the environment variable, and then start tmux again. Presumably the server itself is caching the value or something...






share|improve this answer






















    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%2f499999%2fchanged-language-now-terminal-isnt-working-right%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Well, I thought the locale was still set the same... but it wasn't.



    It turns out previously the locale was en_GB.utf8, whereas now it's just en_GB.



    Setting this to the correct value outside of tmux seems to make everything behave correctly again.



    A quirk is that for this to take effect inside tmux, it appears you have to exit all sessions, set the environment variable, and then start tmux again. Presumably the server itself is caching the value or something...






    share|improve this answer



























      0














      Well, I thought the locale was still set the same... but it wasn't.



      It turns out previously the locale was en_GB.utf8, whereas now it's just en_GB.



      Setting this to the correct value outside of tmux seems to make everything behave correctly again.



      A quirk is that for this to take effect inside tmux, it appears you have to exit all sessions, set the environment variable, and then start tmux again. Presumably the server itself is caching the value or something...






      share|improve this answer

























        0












        0








        0







        Well, I thought the locale was still set the same... but it wasn't.



        It turns out previously the locale was en_GB.utf8, whereas now it's just en_GB.



        Setting this to the correct value outside of tmux seems to make everything behave correctly again.



        A quirk is that for this to take effect inside tmux, it appears you have to exit all sessions, set the environment variable, and then start tmux again. Presumably the server itself is caching the value or something...






        share|improve this answer













        Well, I thought the locale was still set the same... but it wasn't.



        It turns out previously the locale was en_GB.utf8, whereas now it's just en_GB.



        Setting this to the correct value outside of tmux seems to make everything behave correctly again.



        A quirk is that for this to take effect inside tmux, it appears you have to exit all sessions, set the environment variable, and then start tmux again. Presumably the server itself is caching the value or something...







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 22 at 13:24









        MathematicalOrchidMathematicalOrchid

        2,36961845




        2,36961845



























            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%2f499999%2fchanged-language-now-terminal-isnt-working-right%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?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?