Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extended Sarevok's Diary for BG1EE is too long to fit in maximum size of one replica for two (eg Russian) and three (eg Chinese) bytes characters in utf-8. #109

Open
abalabokhin opened this issue Nov 23, 2022 · 0 comments

Comments

@abalabokhin
Copy link
Contributor

abalabokhin commented Nov 23, 2022

The translation of Extended Sarevok's Diary (bg1npc_tmp.tra@575) on some languages can easily be bigger than 32 Kb in utf-8 encoding (BG1EE, EET), that is the maximum for dlg file. In this case the item description is empty. The reason is that some characters (eg all Russian alphabet characters) are more than on byte in utf-8 encoding.
Is it possible to split the item description in two or three parts, change the UI to show such a long description or fix it somehow else?

Added: I'm actually not sure that the limitation is 32 Kb, not 64 Kb, but for some reasons Russian text that is 26.2 Kb cannot be shown in the EE game (but works in vanilla BG). It might be the problem with encoding though.

@abalabokhin abalabokhin changed the title Extended Sarevok's Diary for BG1EE is too long to fit in maximum size of one replica for two (eg Russian) and three (eg Chinese) bytes characters in utf-8.. Extended Sarevok's Diary for BG1EE is too long to fit in maximum size of one replica for two (eg Russian) and three (eg Chinese) bytes characters in utf-8. Nov 23, 2022
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

No branches or pull requests

1 participant