Unicode Characters

Table of contents

  1. Example 1
  2. Example 2
  3. Some useful

Enhanced Batch allow you generate any Unicode character in an easy way: %U+N%, where N is a hexadecimal number smaller than 0x110000. The last valid character is U+10FFFF.

Example 1

echo greek psi: %U+03A8%
greek psi: Ψ

Example 2

set "$BOM=%U+FEFF%"

Some useful

  • !U+0! NUL
  • !U+22! Quote