Author Topic: Bug: Tsujatha needs 2 .tra files, one for EE games, one for non EE games...  (Read 2067 times)

0 Members and 1 Guest are viewing this topic.

Offline Jarno Mikkola

  • Newbie
  • *
  • Posts: 57
  • Karma: +2/-0
    • View Profile
As reported here, the current non-EE games get a very messy out come from the .tra file, specifically from the apostrophe, cause it essentially has a wrong codepage .tra file assigned to be the base for both games.
Sorry for the late report, I was trying earlier, but couldn't get through.

Offline Red Carnelian

  • Global Moderator
  • Level 1
  • *****
  • Posts: 340
  • Karma: +5/-0
  • Gender: Male
    • View Profile
    • The Stone of Askavar
This doesn't need to be the case for English translations. Looking at the SHS post the offending line is;

’tis fresh morning with me when you are by at night in BATSUJAT.tra

You can simply change the apostrophe to ' or ` instead of ’ . The offending character is not from the ASCII standard.

For English translations most characters you use for BG:EE are in the ASCII character set that ANSI and UTF 8 share so change the apostrophe to the one near the @ key. On UK keyboards at least.

Here is the correct text

'tis fresh morning with me when you are by at night

There is a good article that explains this quite well http://www.joelonsoftware.com/articles/Unicode.html

This will of course be different for other translations where HANDLE CHARSETS will have to be used to encode the text.

I'll inform the moderator of this MOD about the solution.
« Last Edit: January 05, 2016, 06:48:31 AM by Red Carnelian »
Little is known of Nirel, a powerful cleric who could resist the spells of his enemies. However, history does record that he was a vile zealot whose hatred for followers of other faiths knew almost no bounds. It is said that he kept the heads of his victims as trophies and was personally responsible for defiling over one hundred temples of other faiths. In the centuries since, his mace has appeared in the hands of evil clerics across the Realms.