How to set Notepad2 to UTF-8 instead of ANSI?












6














Each time I create a new file in Notepad2 default is ANSI instead I'd like to have UTF-8. Is there a way to get this ?










share|improve this question





























    6














    Each time I create a new file in Notepad2 default is ANSI instead I'd like to have UTF-8. Is there a way to get this ?










    share|improve this question



























      6












      6








      6


      1





      Each time I create a new file in Notepad2 default is ANSI instead I'd like to have UTF-8. Is there a way to get this ?










      share|improve this question















      Each time I create a new file in Notepad2 default is ANSI instead I'd like to have UTF-8. Is there a way to get this ?







      windows notepad2






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 23 '18 at 20:50









      Josem

      159110




      159110










      asked Dec 9 '09 at 11:56







      asksuperuser





























          3 Answers
          3






          active

          oldest

          votes


















          5














          File → Encoding → Default... → UTF-8


          If the change doesn't stick when you restart Notepad2 change the default again and then try :



          Settings -> Save Settings Now


          This is using Notepad2 v4.2.25






          share|improve this answer























          • no encoding option in file menu
            – metal gear solid
            Dec 9 '09 at 12:36






          • 1




            I have it in Notepad2 4.0.23, and it's been there since version 2.x.
            – grawity
            Dec 9 '09 at 13:00










          • Me too in 4.2.25
            – Josem
            Dec 23 '18 at 19:31



















          1














          File -> Settings -> Preferences -> New Document, check UTF-8.



          image






          share|improve this answer























          • wrong!! for notepad++ you should NOT use UTF-8 with signature (BOM) ever! this is a mistake that could corrupt your source files (if you are a developer / programmer) and showing "weird icons" in your web-pages, and "you won't know why!" (because most of us won't turn on the "show all symbols"). for notepad2 it is "upside-down" there you should select "UTF-8" and not UTF-8 with signature!!!!
            – user429721
            Dec 31 '15 at 17:00










          • @EladKarako: Who says this is for Web use (in any case, no problem for IIS and most web servers on Windows)? In the Windows world, a BOM can be extremely useful for suitable applications to better understand the file contents.
            – harrymc
            Dec 31 '15 at 18:43



















          0














          Run notepad2.exe with a parameter. Example in command prompt or other program:



          Notepad2.exe /utf8 MyAnsiiFile.txt


          This opens and loads an ASCII file and converts it to a UTF-8 file.
          Then, you need only to close Notepad2 and save.



          notepad2 version 4.2.25






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            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%2fsuperuser.com%2fquestions%2f80885%2fhow-to-set-notepad2-to-utf-8-instead-of-ansi%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown
























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            5














            File → Encoding → Default... → UTF-8


            If the change doesn't stick when you restart Notepad2 change the default again and then try :



            Settings -> Save Settings Now


            This is using Notepad2 v4.2.25






            share|improve this answer























            • no encoding option in file menu
              – metal gear solid
              Dec 9 '09 at 12:36






            • 1




              I have it in Notepad2 4.0.23, and it's been there since version 2.x.
              – grawity
              Dec 9 '09 at 13:00










            • Me too in 4.2.25
              – Josem
              Dec 23 '18 at 19:31
















            5














            File → Encoding → Default... → UTF-8


            If the change doesn't stick when you restart Notepad2 change the default again and then try :



            Settings -> Save Settings Now


            This is using Notepad2 v4.2.25






            share|improve this answer























            • no encoding option in file menu
              – metal gear solid
              Dec 9 '09 at 12:36






            • 1




              I have it in Notepad2 4.0.23, and it's been there since version 2.x.
              – grawity
              Dec 9 '09 at 13:00










            • Me too in 4.2.25
              – Josem
              Dec 23 '18 at 19:31














            5












            5








            5






            File → Encoding → Default... → UTF-8


            If the change doesn't stick when you restart Notepad2 change the default again and then try :



            Settings -> Save Settings Now


            This is using Notepad2 v4.2.25






            share|improve this answer














            File → Encoding → Default... → UTF-8


            If the change doesn't stick when you restart Notepad2 change the default again and then try :



            Settings -> Save Settings Now


            This is using Notepad2 v4.2.25







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jul 5 '11 at 10:40









            Community

            1




            1










            answered Dec 9 '09 at 12:31









            grawitygrawity

            233k36493548




            233k36493548












            • no encoding option in file menu
              – metal gear solid
              Dec 9 '09 at 12:36






            • 1




              I have it in Notepad2 4.0.23, and it's been there since version 2.x.
              – grawity
              Dec 9 '09 at 13:00










            • Me too in 4.2.25
              – Josem
              Dec 23 '18 at 19:31


















            • no encoding option in file menu
              – metal gear solid
              Dec 9 '09 at 12:36






            • 1




              I have it in Notepad2 4.0.23, and it's been there since version 2.x.
              – grawity
              Dec 9 '09 at 13:00










            • Me too in 4.2.25
              – Josem
              Dec 23 '18 at 19:31
















            no encoding option in file menu
            – metal gear solid
            Dec 9 '09 at 12:36




            no encoding option in file menu
            – metal gear solid
            Dec 9 '09 at 12:36




            1




            1




            I have it in Notepad2 4.0.23, and it's been there since version 2.x.
            – grawity
            Dec 9 '09 at 13:00




            I have it in Notepad2 4.0.23, and it's been there since version 2.x.
            – grawity
            Dec 9 '09 at 13:00












            Me too in 4.2.25
            – Josem
            Dec 23 '18 at 19:31




            Me too in 4.2.25
            – Josem
            Dec 23 '18 at 19:31













            1














            File -> Settings -> Preferences -> New Document, check UTF-8.



            image






            share|improve this answer























            • wrong!! for notepad++ you should NOT use UTF-8 with signature (BOM) ever! this is a mistake that could corrupt your source files (if you are a developer / programmer) and showing "weird icons" in your web-pages, and "you won't know why!" (because most of us won't turn on the "show all symbols"). for notepad2 it is "upside-down" there you should select "UTF-8" and not UTF-8 with signature!!!!
              – user429721
              Dec 31 '15 at 17:00










            • @EladKarako: Who says this is for Web use (in any case, no problem for IIS and most web servers on Windows)? In the Windows world, a BOM can be extremely useful for suitable applications to better understand the file contents.
              – harrymc
              Dec 31 '15 at 18:43
















            1














            File -> Settings -> Preferences -> New Document, check UTF-8.



            image






            share|improve this answer























            • wrong!! for notepad++ you should NOT use UTF-8 with signature (BOM) ever! this is a mistake that could corrupt your source files (if you are a developer / programmer) and showing "weird icons" in your web-pages, and "you won't know why!" (because most of us won't turn on the "show all symbols"). for notepad2 it is "upside-down" there you should select "UTF-8" and not UTF-8 with signature!!!!
              – user429721
              Dec 31 '15 at 17:00










            • @EladKarako: Who says this is for Web use (in any case, no problem for IIS and most web servers on Windows)? In the Windows world, a BOM can be extremely useful for suitable applications to better understand the file contents.
              – harrymc
              Dec 31 '15 at 18:43














            1












            1








            1






            File -> Settings -> Preferences -> New Document, check UTF-8.



            image






            share|improve this answer














            File -> Settings -> Preferences -> New Document, check UTF-8.



            image







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Sep 4 '11 at 4:06









            3498DB

            15.7k114762




            15.7k114762










            answered Dec 9 '09 at 12:57









            harrymcharrymc

            254k14265565




            254k14265565












            • wrong!! for notepad++ you should NOT use UTF-8 with signature (BOM) ever! this is a mistake that could corrupt your source files (if you are a developer / programmer) and showing "weird icons" in your web-pages, and "you won't know why!" (because most of us won't turn on the "show all symbols"). for notepad2 it is "upside-down" there you should select "UTF-8" and not UTF-8 with signature!!!!
              – user429721
              Dec 31 '15 at 17:00










            • @EladKarako: Who says this is for Web use (in any case, no problem for IIS and most web servers on Windows)? In the Windows world, a BOM can be extremely useful for suitable applications to better understand the file contents.
              – harrymc
              Dec 31 '15 at 18:43


















            • wrong!! for notepad++ you should NOT use UTF-8 with signature (BOM) ever! this is a mistake that could corrupt your source files (if you are a developer / programmer) and showing "weird icons" in your web-pages, and "you won't know why!" (because most of us won't turn on the "show all symbols"). for notepad2 it is "upside-down" there you should select "UTF-8" and not UTF-8 with signature!!!!
              – user429721
              Dec 31 '15 at 17:00










            • @EladKarako: Who says this is for Web use (in any case, no problem for IIS and most web servers on Windows)? In the Windows world, a BOM can be extremely useful for suitable applications to better understand the file contents.
              – harrymc
              Dec 31 '15 at 18:43
















            wrong!! for notepad++ you should NOT use UTF-8 with signature (BOM) ever! this is a mistake that could corrupt your source files (if you are a developer / programmer) and showing "weird icons" in your web-pages, and "you won't know why!" (because most of us won't turn on the "show all symbols"). for notepad2 it is "upside-down" there you should select "UTF-8" and not UTF-8 with signature!!!!
            – user429721
            Dec 31 '15 at 17:00




            wrong!! for notepad++ you should NOT use UTF-8 with signature (BOM) ever! this is a mistake that could corrupt your source files (if you are a developer / programmer) and showing "weird icons" in your web-pages, and "you won't know why!" (because most of us won't turn on the "show all symbols"). for notepad2 it is "upside-down" there you should select "UTF-8" and not UTF-8 with signature!!!!
            – user429721
            Dec 31 '15 at 17:00












            @EladKarako: Who says this is for Web use (in any case, no problem for IIS and most web servers on Windows)? In the Windows world, a BOM can be extremely useful for suitable applications to better understand the file contents.
            – harrymc
            Dec 31 '15 at 18:43




            @EladKarako: Who says this is for Web use (in any case, no problem for IIS and most web servers on Windows)? In the Windows world, a BOM can be extremely useful for suitable applications to better understand the file contents.
            – harrymc
            Dec 31 '15 at 18:43











            0














            Run notepad2.exe with a parameter. Example in command prompt or other program:



            Notepad2.exe /utf8 MyAnsiiFile.txt


            This opens and loads an ASCII file and converts it to a UTF-8 file.
            Then, you need only to close Notepad2 and save.



            notepad2 version 4.2.25






            share|improve this answer




























              0














              Run notepad2.exe with a parameter. Example in command prompt or other program:



              Notepad2.exe /utf8 MyAnsiiFile.txt


              This opens and loads an ASCII file and converts it to a UTF-8 file.
              Then, you need only to close Notepad2 and save.



              notepad2 version 4.2.25






              share|improve this answer


























                0












                0








                0






                Run notepad2.exe with a parameter. Example in command prompt or other program:



                Notepad2.exe /utf8 MyAnsiiFile.txt


                This opens and loads an ASCII file and converts it to a UTF-8 file.
                Then, you need only to close Notepad2 and save.



                notepad2 version 4.2.25






                share|improve this answer














                Run notepad2.exe with a parameter. Example in command prompt or other program:



                Notepad2.exe /utf8 MyAnsiiFile.txt


                This opens and loads an ASCII file and converts it to a UTF-8 file.
                Then, you need only to close Notepad2 and save.



                notepad2 version 4.2.25







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 13 '16 at 22:14









                Excellll

                11.1k74162




                11.1k74162










                answered Jan 13 '16 at 21:53









                Stanko ZemanStanko Zeman

                1




                1






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • 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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2fsuperuser.com%2fquestions%2f80885%2fhow-to-set-notepad2-to-utf-8-instead-of-ansi%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

                    flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                    Mangá

                     ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕