Descriptionfmt: measure width in runes not bytes with %c and %q for ints
Change these calls to measure width in runes not bytes:
fmt.Printf("(%5q)\n", '§')
fmt.Printf("(%3c)\n", '§')
Fixes issue 8275.
Patch Set 1 #Patch Set 2 : diff -r ae0d51eadf44 https://code.google.com/p/go #Patch Set 3 : diff -r 6125ea2b1dbf https://code.google.com/p/go #Patch Set 4 : diff -r 6125ea2b1dbf https://code.google.com/p/go #Patch Set 5 : diff -r 6125ea2b1dbf https://code.google.com/p/go #Patch Set 6 : diff -r 6125ea2b1dbf https://code.google.com/p/go #Patch Set 7 : diff -r e4960388d0db https://code.google.com/p/go #
MessagesTotal messages: 7
|