[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Re: Antwort: Re: problem with mutated vowel in log-message-contents

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 22 Feb 2011 13:58:46 +0200

Tony Sweeney wrote on Tue, Feb 22, 2011 at 11:52:09 -0000:
> Which is why you should probably use iconv(1) or any of the APIs listed here:
>
> http://www.unicodetools.com/
>

+1 to iconv.

In reality, the editor-cmd.sh script will check whether the log message
(which, again, will be argv[1]) is in UTF-8 already or not, and run it
through 'iconv -f latin1 -t utf-8' if not.

It won't be long, but it won't be a one-liner.

> instead of dicking around with perl or sed and hard coded hand crafted single character mappings. There's potentially a lot more than just u-umlaut to worry about.

Thanks,

Daniel
Received on 2011-02-22 13:04:18 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.