• Login
Community
  • Login

The Vietnamese language doesn't show up correctly after saving

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
36 Posts 3 Posters 3.3k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N
    Nick Boescht @Ekopalypse
    last edited by Mar 2, 2021, 7:37 PM

    @Ekopalypse I am having a problem with everytime I saved it and open it again, it reverts the styles back to Global Override and reverted everything I did. Is there a way to just make it stays at the setting you showed me ?

    E P 2 Replies Last reply Mar 2, 2021, 7:38 PM Reply Quote 0
    • E
      Ekopalypse @Nick Boescht
      last edited by Mar 2, 2021, 7:38 PM

      @Nick-Boescht

      can you post your debug-info, which is available from the ? menu, the last menu item?

      N 1 Reply Last reply Mar 2, 2021, 7:39 PM Reply Quote 1
      • N
        Nick Boescht @Ekopalypse
        last edited by Mar 2, 2021, 7:39 PM

        @Ekopalypse Notepad++ v7.9.3 (64-bit)
        Build time : Feb 14 2021 - 03:15:58
        Path : C:\Program Files\Notepad++\notepad++.exe
        Admin mode : OFF
        Local Conf mode : OFF
        OS Name : Windows 10 Home Single Language (64-bit)
        OS Version : 2004
        OS Build : 19041.804
        Current ANSI codepage : 1252
        Plugins : mimeTools.dll NppConverter.dll NppExport.dll

        E 1 Reply Last reply Mar 2, 2021, 7:41 PM Reply Quote 0
        • E
          Ekopalypse @Nick Boescht
          last edited by Mar 2, 2021, 7:41 PM

          @Nick-Boescht

          That means, that you should have a folder %APPDATA%\notepad++ and in that folder you should see a
          config.xml. Can you just try to copy and past this file within this directory. Just copy and paste %APPDATA%\notepad++ into the explorer and press enter.

          N 1 Reply Last reply Mar 2, 2021, 7:49 PM Reply Quote 0
          • P
            PeterJones @Nick Boescht
            last edited by Mar 2, 2021, 7:43 PM

            @Nick-Boescht said in The Vietnamese language doesn't show up correctly after saving:

            it reverts the styles back to Global Override

            If by “reverts” you mean that the Style Configurator goes back to showing you the Global Override page by default, yes, that’s what it does. You always have to go manually pick the style you want to look at. Those different style pages are all separate entities, and picking “Default Style” isn’t changing a setting by itself–it is just showing you a particular page of the style settings.

            If by “reverts” you mean that Style Configurator showed “Deja Vu Sans Mono” after you edited originally, but when you reload, it goes back to some other font: you always need to Save and Close to get a change of style settings to take effect.

            1 Reply Last reply Reply Quote 3
            • N
              Nick Boescht @Ekopalypse
              last edited by Nick Boescht Mar 2, 2021, 7:49 PM Mar 2, 2021, 7:49 PM

              @Ekopalypse Does that mean I just post that xml file into here ? Because I don’t have the privilege to post it here

              E 1 Reply Last reply Mar 2, 2021, 7:51 PM Reply Quote 0
              • E
                Ekopalypse @Nick Boescht
                last edited by Ekopalypse Mar 2, 2021, 7:51 PM Mar 2, 2021, 7:51 PM

                @Nick-Boescht

                No, you should try copy and past within your local directory to see if you have proper access to this folder.
                The config.xml is the file which stores your configuration.

                Did you check what @PeterJones mentioned?

                N 1 Reply Last reply Mar 2, 2021, 7:55 PM Reply Quote 1
                • N
                  Nick Boescht @Ekopalypse
                  last edited by Mar 2, 2021, 7:55 PM

                  @Ekopalypse Yes, I did and it still reverted back to the default settings, and yes I can copy and past the file within my local directory

                  E 1 Reply Last reply Mar 2, 2021, 7:57 PM Reply Quote 0
                  • E
                    Ekopalypse @Nick Boescht
                    last edited by Mar 2, 2021, 7:57 PM

                    @Nick-Boescht you are using only one instance of npp, do you?
                    When you close Npp, no other noteapd++.exe process is running anymore, correct?

                    N 1 Reply Last reply Mar 2, 2021, 7:58 PM Reply Quote 0
                    • N
                      Nick Boescht @Ekopalypse
                      last edited by Mar 2, 2021, 7:58 PM

                      @Ekopalypse Yes, I checked with Task Manager. No npp is running right now

                      1 Reply Last reply Reply Quote 0
                      • E
                        Ekopalypse
                        last edited by Mar 2, 2021, 8:00 PM

                        @Nick-Boescht is this your private computer?
                        When you open config.xml, and search for stylerTheme, what does path report?

                        N 1 Reply Last reply Mar 2, 2021, 8:03 PM Reply Quote 0
                        • N
                          Nick Boescht @Ekopalypse
                          last edited by Nick Boescht Mar 2, 2021, 8:03 PM Mar 2, 2021, 8:03 PM

                          @Ekopalypse Yes, I am working on a personal laptop

                          GUIConfig name=“stylerTheme” path=“C:\Users\ASUS\AppData\Roaming\Notepad++\themes\Monokai.xml” />

                          E 1 Reply Last reply Mar 2, 2021, 8:04 PM Reply Quote 0
                          • E
                            Ekopalypse @Nick Boescht
                            last edited by Mar 2, 2021, 8:04 PM

                            @Nick-Boescht

                            So your style has been saved!?
                            What is reverting?

                            N 1 Reply Last reply Mar 2, 2021, 8:06 PM Reply Quote 1
                            • N
                              Nick Boescht @Ekopalypse
                              last edited by Mar 2, 2021, 8:06 PM

                              @Ekopalypse Seems like it’s only the Encoding that changed everytime I open it, but setting it back to UTF-8 still makes the accents show properly

                              E 1 Reply Last reply Mar 2, 2021, 8:08 PM Reply Quote 0
                              • E
                                Ekopalypse @Nick Boescht
                                last edited by Mar 2, 2021, 8:08 PM

                                @Nick-Boescht

                                ahh - I see, it is an xml file and this has an encoding set to windows-1258. Hmm, not sure if this can be forced to be open as utf8.

                                N 1 Reply Last reply Mar 2, 2021, 8:10 PM Reply Quote 0
                                • N
                                  Nick Boescht @Ekopalypse
                                  last edited by Nick Boescht Mar 2, 2021, 8:11 PM Mar 2, 2021, 8:10 PM

                                  @Ekopalypse I am translating the text directly from the game files of S.T.A.L.K.E.R: Shadow Of Chernobyl, extracted from a db files using an unpacker from here https://www.moddb.com/mods/old-good-stalker-evolution/downloads/stalker-game-archives-unpacker

                                  P 1 Reply Last reply Mar 2, 2021, 8:13 PM Reply Quote 0
                                  • P
                                    PeterJones @Nick Boescht
                                    last edited by Mar 2, 2021, 8:13 PM

                                    @Nick-Boescht ,

                                    Could you please show us a screenshot of this text file open in your copy of Notepad++, with enough in the screenshot so we can see any header information (like an XML encoding tag), and the full Notepad++ status bar (so it shows file type, length, encoding, EOL format, etc). It’d be really nice if it also showed us what the example text you pasted looks like on your machine, so we can know what you think is “wrong” about it.

                                    when asking us for help, especially in discussions that have gone on this long, it’s often best to err on the side of providing too much information rather than too little.

                                    N 1 Reply Last reply Mar 2, 2021, 8:17 PM Reply Quote 0
                                    • E
                                      Ekopalypse
                                      last edited by Mar 2, 2021, 8:13 PM

                                      @Nick-Boescht

                                      one thing you can try is to use this setting in addition.

                                      c3deb567-311d-4dc8-b0a1-a2cbb14c718a-image.png

                                      1 Reply Last reply Reply Quote 1
                                      • E
                                        Ekopalypse
                                        last edited by Ekopalypse Mar 2, 2021, 8:17 PM Mar 2, 2021, 8:17 PM

                                        For me it seems the same. If I open a xml with an encoding tag
                                        then it overwrites my utf8 setting.

                                        Now the question is, @Nick-Boescht - do you want it to be stored in utf8? Or is, indeed, Windows1258 the correct encoding?

                                        N 1 Reply Last reply Mar 2, 2021, 8:21 PM Reply Quote 0
                                        • N
                                          Nick Boescht @PeterJones
                                          last edited by Mar 2, 2021, 8:17 PM

                                          @PeterJones This is what I see and I am using Ekopalypse’s settings image_2021-03-02_161730.png

                                          P 1 Reply Last reply Mar 2, 2021, 8:56 PM Reply Quote 0
                                          21 out of 36
                                          • First post
                                            21/36
                                            Last post
                                          The Community of users of the Notepad++ text editor.
                                          Powered by NodeBB | Contributors