Mean depth units bug

Sergey Starosek sergey-starosek at yandex.ru
Sat Jan 31 09:37:12 PST 2015


31.01.2015, 20:29, "Lubomir I. Ivanov" <neolit123 at gmail.com>:
> On 31 January 2015 at 19:21, Sergey Starosek <sergey-starosek at yandex.ru> 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.

Sergey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot - 01312015 - 08:32:27 PM.png
Type: image/png
Size: 62393 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150131/7e6b58c2/attachment-0001.png>


More information about the subsurface mailing list