How to convert escaped Unicode (e.g. \u0432\u0441\u0435) to UTF-8 chars (все) in Notepad++

I have .properties files with a bunch of unicode escaped characters. I want to convert it to the correct chars display.


Currently: \u0432\u0441\u0435 \u0433\u043e\u0442\u043e\u0432\u043e\u005c
Desired result: все готово

Notepad++ is already set to encode UTF8 without BOM. Opening the document and 'converting' (from the Encoding drop-down menu) doesn't do anything.

How do I achieve this with notepad++?

If not in Notepad++, is there any other way to do this for many files, perhaps by using some script?


You need a plugin named HTML Tag. Once plugin is installed, select your text and invoke command Plugins > HTML Tag > Decode JS (Ctrl+Shift+J).

I'm not aware of how you can do it natively in Notepad++ but as requested you can script it with Python:

import codecs

# opens a file and converts input to true Unicode
with"escaped-unicode.txt", "rb", "unicode_escape") as my_input:
    contents =
    # type(contents) = unicode 

# opens a file with UTF-8 encoding
with"utf8-out.txt", "wb", "utf8") as my_output:

Need Your Help

How to initialize UIColor from RGB values properly?

uibutton rgb uicolor

I am working on an iPhone application which uses various colors. When user selects the particular color button I set drawing color accordingly. I am getting the color for some but in the most of the