severity 459413 wishlist
tags 459413 + upstream
quit
Teemu Likonen wrote:
> Kalle Olavi Niemitalo kirjoitti:
>> If a simple character-counting feature were added now, perhaps
>> with new syntax such as "%5Uc", [...]
>
> This sounds good idea.
I agree. Maybe someone should file it with http://au
Kalle Olavi Niemitalo kirjoitti:
> If a simple character-counting feature were added now, perhaps
> with new syntax such as "%5Uc", [...]
This sounds good idea. Yes, maybe the best would be to save the current
byte-counting method and add separate character-counting method.
This "%5s"-thing aff
Teemu Likonen <[EMAIL PROTECTED]> writes:
> The problem is that the field width "%5s" is calculated wrong because
> the letter "ä" takes two bytes in UTF-8 but is only one character.
According to SUSv3, the printf utility interprets the format
string as specified under "File Format Notation", apa
Package: bash
Version: 3.1dfsg-8
Severity: normal
The bash builtin command "printf" is not UTF-8 aware (i.e. does not
handle UTF-8 multibyte characters). Example:
$ /bin/bash -c 'type printf'
printf is a shell builtin
$ /bin/bash -c 'printf "!%5s!\n" a ä'
!a!
! ä!
"a" is "U+00
4 matches
Mail list logo