Page 2 of 2

Re: Journal alphabetical index with non-english content files

Posted: 20 Nov 2017, 19:46
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.