How can I use bat files with unicode characters?

Asked By 30 points N/A Posted on -
qa-featured

Hi,

I want to use bat files with unicode characters. Is there any to do it properly? How? Please, tell me in details to solve the problem.

Thanks

SHARE
Answered By 0 points N/A #138510

How can I use bat files with unicode characters?

qa-featured

Hi Randy,

   If you use Unicode in notepad you probably get the error message. Just open WordPad and type the code alt+186 in that. So first you type the code into WordPad and take a copy of that and paste that to Notepad.

Alternatively you can go to Google type alt key codes and find a website that showsthe actual symbol and that can be used in notepad.

Answered By 590495 points N/A #310745

How can I use bat files with unicode characters?

qa-featured

Of course, you can use Unicode in a batch file. Actually, you are already using it right now. Unicode is a computing industry standard for the consistent encoding, representation, and handling of text expressed in most of the world’s writing systems maintained by the Unicode Consortium.

Currently, the most recent version as of June 2018, Unicode 11.0, has a collection of about 137,439 characters covering 146 modern and historic scripts including multiple symbol sets and emoji. You can use or implement Unicode using different character encodings. The Unicode standard defines UTF-8, UTF-16, and UTF-32 as well as several other encodings are in use.

UTF-8, UTF-16, and UCS-2 are the most commonly used character encodings where UCS-2 is a precursor of UTF-16. The Opera browser uses UTF-8 character encoding to render web pages.

Related Questions