Skip to content

Add Unicode escape sequence support (\uXXXX)#68

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/add-unicode-escaping-support
Draft

Add Unicode escape sequence support (\uXXXX)#68
Copilot wants to merge 2 commits intomasterfrom
copilot/add-unicode-escaping-support

Conversation

Copy link

Copilot AI commented Feb 25, 2026

Adds support for Unicode escape sequences in text processing, enabling characters like \uE001 in scoreboard, tablist, and chat configs. Essential for Minecraft resource packs that use private use area Unicode characters for custom icons.

  • Added translateUnicodeEscapes() to Placeholders.java — regex-based conversion of \uXXXX patterns to actual Unicode characters, following the same approach as translateHexColor()
  • Integrated into the replace() pipeline, executed before color code translation
# Example usage in config
lines:
  - "&6Custom icon: \uE001"
  - "Heart: \u2764"

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • hub.spigotmc.org
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.12/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.12/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.12 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.12/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/PowerBoard/PowerBoard org.codehaus.plexus.classworlds.launcher.Launcher compile (dns block)
  • jitpack.io
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.12/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.12/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.12 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.12/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/PowerBoard/PowerBoard org.codehaus.plexus.classworlds.launcher.Launcher compile (dns block)
  • repo.extendedclip.com
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.12/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.12/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.12 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.12/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/PowerBoard/PowerBoard org.codehaus.plexus.classworlds.launcher.Launcher compile (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Add Unicode Escaping</issue_title>
<issue_description>Add Unicode Escaping
For example, you can escape a character using \uE001.

Originally posted by @Mikayato2177 in #66</issue_description>

Comments on the Issue (you are @copilot in this section)

@Xitee1 @copilot Please create a PR to add support for unicode escaping

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: Xitee1 <59659167+Xitee1@users.noreply.github.com>
Copilot AI changed the title [WIP] Add support for Unicode escaping Add Unicode escape sequence support (\uXXXX) Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Unicode Escaping

2 participants