Journal alphabetical index with non-english content files

Everything about development and the OpenMW source code.
User avatar
akortunov
Posts: 146
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation
Github profile: https://github.com/akortunov

Re: Journal alphabetical index with non-english content files

Post by akortunov » 20 Nov 2017, 19:46

Chris wrote:
20 Nov 2017, 15:49
Can't it be sorted as normal Unicode text would be, regardless of the content file text encoding?
I did not see any Unicode text utilities in OpenMW, so I had to add the toLower() function with Cyrillic support.
Chris wrote:
20 Nov 2017, 15:49
What would happen if a new game is made in Russian with UTF-8 content file encoding?
Looks like the MWBase::Journal uses the UTF-8 encoding, so the journal index should work.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests