Journal alphabetical index with non-english content files

Everything about development and the OpenMW source code.
User avatar
akortunov
Posts: 899
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation

Re: Journal alphabetical index with non-english content files

Post by akortunov »

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