static @Nullable LegacyFormat parseChar(final char character) {
    return LegacyComponentSerializerImpl.legacyFormat(character);
  }
Converts a legacy character ({@code 0123456789abcdefklmnor}) to a legacy format, when possible.

@param character the legacy character
@return the legacy format
@since 4.0.0
text-serializer-legacy/src/main/java/net/kyori/adventure/text/serializer/legacy/LegacyComponentSerializer.java