Change default encoding for notepad ++

What is it. I want to open all files at once (for replacement). But notepad ++ opens them all in ANSI, and I have to go through each file and change the encoding to UTF-8.

+54
encoding notepad ++
Feb 23 '11 at 12:20
source share
5 answers

In Notepad ++ 5.9, there is an option in Settings β†’ Settings β†’ New document / Default directory for automatically converting ANSI files to UTF-8 without specification on open

+65
May 28 '11 at 10:20
source share
β€” -

Settings β†’ Settings β†’ New Document / Default Directory β†’ UTF-8

+16
Feb 23 '11 at 12:25
source share

I believe you can change this in config.model.xml. However, I'm not sure if it sets the unknown type as the default type, but it may be worth changing NewDocDefaultSettings

<GUIConfig name="NewDocDefaultSettings" format="0" encoding="0" lang="0" /> 

to

 <GUIConfig name="NewDocDefaultSettings" format="0" encoding="4" lang="0" /> 

I think in the worst case scenario you could write a macro to automate this process.

+2
Feb 23 '11 at 12:25
source share

Late, but for new users I ran into a similar problem

Step 1:
Settings β†’ Settings β†’ New document β†’ [Encodng] UTF-8 without specification (check the Apply to opened ANSI files box)

but anyone, as he did not allow mine, I searched and found that his mistake!

Error correction Notepad ++ v6.4.5 :

  • Fixed a bug in the absence of a tag in functionList.xml. Fasten

  • UTF-8 detection error (without specification).

Step 2: They all have an upgrade to> = v6.4.5 and follow Step 1

+1
Aug 24 '13 at 18:03
source share
-3
Jun 17 '13 at 15:38
source share



All Articles