Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

E.g.:

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?

like image 723
tome Avatar asked Aug 03 '14 14:08

tome


People also ask

How do I encode unicode to utf8?

Base Convert Unicode symbols to UTF-8 in this base. Set the byte delimiter character here. Add a Prefix Use prefix "0b" for binary, prefix "o" for octal, and prefix "0x" for hex values. Add Padding Add zero padding to small values to make them all the same length.


1 Answers

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

like image 198
Dmitriy Konovalov Avatar answered Sep 20 '22 00:09

Dmitriy Konovalov