Hi,

I'm trying to print strings containing swedish characters in columns
by doing

        g_print("%-16s%-16s\n", "Hallå", "Världen");

The problem seems to be that vasprintf isn't UTF-8-aware and counts
the swedish UTF-8 character as two characters and thus only adds 10
whitespaces after the first string, with the consequence that the
second string is one position left of where it is supposed to be!

I'm using glibc-2.3.1.

Any ideas?

Ulf



_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to