Add Unicode Escape `\uXXXX` for `<font:Wingdings>` Support
[Enhancement Request]
Add an escape sequence for any unicode character (that follows UTF-8), like \u0081 for HOP.
[Use Case]
Since we have <font> tags, I wanted to add wingdings on the text (where regular symbols can't provide an accurate render), but unfortunately you can't exactly add HOP this way.
# Step 4: Add Wingdings
# replace@(match: "<sym>1</sym>", replace: "<size:11><font:Wingdings></font></size>") +
replace@(match: "<sym>2</sym>", replace: "<size:11><font:Wingdings>‚</font></size>") +
# replace@(match: "<sym>6</sym>", replace: "<size:11><font:Wingdings>†</font></size>") + # This bugs out.
# replace@(match: "<sym>7</sym>", replace: "<size:11><font:Wingdings>‡</font></size>") + # Also this
The commented line currently does not work because HOP is a special unicode character, but \u0081 would theoretically work on Wingdings font.
PS: I also have no idea why 6 and 7 symbol replace does not work.
Unicode characters in strings should work if the file is utf8 encoded. Nevertheless, an escape sequence for Unicode does make sense.
Unicode characters in strings should work if the file is utf8 encoded. Nevertheless, an escape sequence for Unicode does make sense. This was my assumption too.
...this is likely just a separate issue. I tried rendering 6 and 7 on Wingdings (by changing the font in style) and it causes a similarly odd issue