Not the right output of the command vnstati when working with locale ru_RU.UTF-8

Bug #1674206 reported by Alexander Andreev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vnstat (Ubuntu)
New
Undecided
Unassigned

Bug Description

I use Linux Mint Cinnamon 18.1

When you use the command it was discovered that vnstati does display the Russian text in the picture incorrectly

vnstati -s -i wlp2s0 -o ~/network.png
In the field must have the value "мар '17"
Displayed on a picture of some doodles. look in the attachment.

Link to the discussion on github:
https://github.com/linuxmint/cinnamon-spices-applets/issues/238

command vnstat work correct.
command vnstat print this:

                      rx / tx / total / estimated
 enp3s0f1: Not enough data available yet.
 docker0: Not enough data available yet.
 wlp2s0:
    мар '17 3,26 MiB / 1,20 MiB / 4,46 MiB / 6,00 MiB
         today 3,26 MiB / 1,20 MiB / 4,46 MiB / 4 MiB

In the command output, the received expected value for the field "мар '17"

Revision history for this message
Alexander Andreev (alexander-andreev) wrote :
Revision history for this message
Alexander Andreev (alexander-andreev) wrote :

command "vnstati -v" print:
vnStat image output 1.14 by Teemu Toivola <tst at iki dot fi>

Revision history for this message
Teemu Toivola (vergo) wrote :

As far as I know, this problem is caused by the internal fonts of libgd used by vnstati not supporting UTF-8.

Revision history for this message
Alexander Andreev (alexander-andreev) wrote :

And on what version of libgd is vnstati based?

I'll try to put a newer version of vnstati still.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.