gentoo-x86 commit in profiles/default/bsd: ChangeLog profile.bashrc
On Wednesday 02 May 2012 16:49:21 Mike Gilbert wrote:
> On Wed, May 2, 2012 at 4:38 PM, Mike Frysinger <vapier@gentoo.org> wrote: > > On Wednesday 02 May 2012 14:04:57 Mike Gilbert wrote: > >> 2. If so, do these tools need to be fixed to always generate UTF-8? > > > > i don't think either of these tools process the whole file. it just > > prepends new content. i could be wrong. > > It looks like echangelog slurps the whole ChangeLog into memory, makes > the necessary edits, and then barfs it back out. a simple test seems like it doesn't re-encode the stream though $ cd /usr/portage/dev-util/strace $ file ChangeLog ChangeLog: UTF-8 Unicode text $ echo >> metadata.xml $ LC_ALL=C echangelog foo $ cvs diff ChangeLog <only new entry is shown> -mike |
gentoo-x86 commit in profiles/default/bsd: ChangeLog profile.bashrc
Mike Gilbert <floppym@gentoo.org> writes:
> On Wed, May 2, 2012 at 11:08 AM, Samuli Suominen <ssuominen@gentoo.org> wrote: > >> Oops, something went wrong here. Please fix your terminal/editor encoding to >> unicode. >> > > I have two questions: > > 1. Was this a repoman or echangelog generated entry? I've first used echangelog to generate the log entry. But there was another change on the ChangeLog file. So I moved my entry using vim. |
gentoo-x86 commit in profiles/default/bsd: ChangeLog profile.bashrc
On Thursday 03 May 2012 00:25:25 Naohiro Aota wrote:
> Mike Gilbert writes: > > On Wed, May 2, 2012 at 11:08 AM, Samuli Suominen wrote: > >> Oops, something went wrong here. Please fix your terminal/editor > >> encoding to unicode. > > > > I have two questions: > > > > 1. Was this a repoman or echangelog generated entry? > > I've first used echangelog to generate the log entry. But there was > another change on the ChangeLog file. So I moved my entry using vim. there it is. vim (last i looked) will re-encode for you. guess you should fix your locale settings to something that ends in ".UTF8" ;). -mike |
gentoo-x86 commit in profiles/default/bsd: ChangeLog profile.bashrc
On Thu, 3 May 2012 00:44:46 -0400
Mike Frysinger <vapier@gentoo.org> wrote: > On Thursday 03 May 2012 00:25:25 Naohiro Aota wrote: > > Mike Gilbert writes: > > > On Wed, May 2, 2012 at 11:08 AM, Samuli Suominen wrote: > > >> Oops, something went wrong here. Please fix your terminal/editor > > >> encoding to unicode. > > > > > > I have two questions: > > > > > > 1. Was this a repoman or echangelog generated entry? > > > > I've first used echangelog to generate the log entry. But there was > > another change on the ChangeLog file. So I moved my entry using vim. > > there it is. vim (last i looked) will re-encode for you. guess you > should fix your locale settings to something that ends in ".UTF8" ;). Or set a more friendly 'fencs' in your vimrc. -- Best regards, Michał Górny |
| All times are GMT. The time now is 05:11 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.