On Sat, 28 Aug 2010, Jonathan Nieder wrote:
Jonathan Nieder wrote:
printf("%s\n", some_nonsense_string);
should always just work.
Ok, so apparently
#include <stdio.h>
#include <locale.h>
int main(void)
{
setlocale(LC_CTYPE, "");
printf("%.11s\n", "Author: \277");
return 0;
}
On my FreeBSD box (various locales tested) I get the following bytes
output:
41 75 74 68 6f 72 3a 20 bf 0a
does not work.
What's wrong?
--Marcin
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html