[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Saturday 18 June 2005 10:11, Eric Botcazou wrote:
> uszprintf was named that way (instead of usnprintf) because its second
> argument is the size in bytes, while the second argument of usnprintf is
a
> number of characters. Of course not the same thing for e.g. UTF-8.
Ah, right. I hadn't considered that. In UTF-8, the actual size of a
character (in bytes) isn't generally known, so the length of the string in
bytes doesn't say how many characters it can hold, right?
In that case, I withdraw my suggestion.
Evert