monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Re: bug with utf-8 converts of log output


From: Henry Nestler
Subject: [Monotone-devel] Re: bug with utf-8 converts of log output
Date: Thu, 15 Mar 2007 23:44:48 +0100
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)

Thomas Moschny wrote:
But while we are at it, transliteration doesn't seem to work:

$ LANG=C ./mtn --no-graph log | grep voll
        * de.po: Fix a typo. Change a phrase: 'vertrauensvoll' -> 
'vertrauensw?rdig'.

compared to:

$ ./mtn --no-graph log | iconv -f utf-8 -t ASCII//TRANSLIT,IGNORE | grep voll
        * de.po: Fix a typo. Change a phrase: 'vertrauensvoll' -> 
'vertrauenswuerdig'.

With address@hidden, LANG=de_DE, LANG=en_US, LANG=C, LANG=POSIX, LANG="" does no difference. mtn is stopping the log always at any position.

Found a workarround, this runs on non utf-8 terminal:
  LANG=de_DE.utf8 mtn --no-graph log > monotone.log

Have SuSE Linux 9.0 (i586)

# iconv --version | head -n1
iconv (GNU libc) 2.3.2

# locale | head -n1
address@hidden

# mtn --no-graph log > /dev/null
mtn: error: failed to convert string from UTF-8 to ISO-8859-15//IGNORE//TRANSLIT: '-----------------------------------------------------------------
mtn: error: Revision: 7f826ce622540b24232d89c412021a87375a7712
[...snip...]

# LANG=POSIX mtn --no-graph log > /dev/null
mtn: error: failed to convert string from UTF-8 to ANSI_X3.4-1968//IGNORE//TRANSLIT: '-----------------------------------------------------------------
mtn: error: Revision: 7529741b2f36da687e0180f748097e94653577b0
[...snip...]

# LANG=en_US mtn --no-graph log > /dev/null
mtn: error: failed to convert string from UTF-8 to ISO-8859-1//IGNORE//TRANSLIT: '-----------------------------------------------------------------
mtn: error: Revision: d5503d809865d4c0b7751cfa5e26b8bb37ad4d72
[...snip...]

--
Henry




reply via email to

[Prev in Thread] Current Thread [Next in Thread]