Skip to content

[Bug] Custom portraits and non-english alphabet.

MessiMessi Member Posts: 738
Did some testing with the nice new custom portrait feature. It seems to partially support non-english alphabet, but only if the name is less 8 characters long. If it is 8 characters long BGEE doesn't recognize the portrait. Also having more than one non-english letter in the name, if they weren't right next to each other, also seems to break it for BGEE.

Here are the names that worked:

image

And here are the names that didn't work:
aoöäåa
aöhtöäa
aöåht_8
eight_8è
eight_8ä
èight_88
åöhoabcd
åöhoöo
äohtoaä
äöht_88e
äöhtöäå

Comments

  • DeeDee Member Posts: 10,447
    Only thing I can think of is that the code is reading the special character as more than one character.
  • AlkaluropsAlkalurops Member Posts: 269
    edited October 2013
    Baldur's Gate has an 8 byte limit, not an 8 character limit. In practice, if UTF8 is used to encode characters, this means that English characters (ASCII, to be specific) are stored in a single byte (hence 8 bytes = 8 characters), but special characters like å or ö are stored in 2 or more bytes. That's why äöhooo (8 bytes) works but äöhoöo (9 bytes) doesn't.

    I don't think there's anything that can be done about this.
Sign In or Register to comment.