On 31 January 2015 at 19:37, Sergey Starosek <[email protected]> wrote:
> 31.01.2015, 20:29, "Lubomir I. Ivanov" <[email protected]>:
>> On 31 January 2015 at 19:21, Sergey Starosek <[email protected]> 
>> wrote:
>>>  Seems there's a bug with mean depth units on a profile graph. It takes 
>>> only first byte to display which fails for multi-byte encodings.
>>>  This is happens somewhere at DiveMeanDepthItem::createTextItem() 
>>> (diveprofileitem.cpp:625) but I don't know how to fix this.
>>
>> strange, it doesn't happen for me (if i understand correctly what you
>> describe); can you post a screenshot?
>
> Mean depth units should read there as cyrillic 'м', but it shows
> first byte which is 0xD0 in UTF-8 I guess.
>

yes Ð is the interpreted 0xD0 as ASCII.
thanks for the bug report, here is a patch that should fix that.

lubomir
--

Attachment: 0001-DiveMeanDepthItem-fix-bad-translated-depth-units.patch
Description: Binary data

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to