Configuring Cervisia für UTF-8 System And Latin-1 Repository

View: New views
2 Messages — Rating Filter:   Alert me  

Configuring Cervisia für UTF-8 System And Latin-1 Repository

by Bugzilla from Jochen.Riehm@dbcarsharing.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,

I have a problem that I didn't find mentioned on Cervisia bugtracking and also
not via google:

Our repository is latin1, thus we want all the files and commit comments to be
in latin1. As far as I understand it cvs itself only transports the texts to
the repository as far as the encoding is concerned, thus when I set my
Konsole to latin1 cvs commit,  cvs log etc. work fine.

However, my KDE is in UTF-8 and with that setting, Cervisia displays two (!)
Boxes for every non ASCII character in diff and annotate and writes UTF-8
characters for non ASCII characters entered as commit comments both to the
log and into the commited files.

It seems to me that what is necessary here, is that cervisia converts text to
and from latin when invoking cvs. Is there a way to configure cervisia to do
that? Anybody else had that problem? Is there a workaround?

Yours,

        Jochen
--
Jochen Riehm
DB Rent GmbH
IT Halle / Saale
Scharrenstr. 10, 06108 Halle / Saale
Tel. 0345 / 29297-33, Fax -72

DB Rent GmbH
Koelner Strasse 4
60327 Frankfurt
Geschaeftsfuehrung: Rolf Luebke, Klaus Mueller
Sitz der Gesellschaft: Frankfurt am Main
Amtsgericht Frankfurt am Main HRB 52 180
_______________________________________________
Cervisia mailing list
Cervisia@...
https://mail.kde.org/mailman/listinfo/cervisia

Re: Configuring Cervisia für UTF-8 System And Latin-1 Repository

by Bugzilla from woebbeking@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 22 November 2007, Jochen Riehm wrote:

> Hi there,
>
> I have a problem that I didn't find mentioned on Cervisia bugtracking
> and also not via google:
>
> Our repository is latin1, thus we want all the files and commit
> comments to be in latin1. As far as I understand it cvs itself only
> transports the texts to the repository as far as the encoding is
> concerned, thus when I set my Konsole to latin1 cvs commit,  cvs log
> etc. work fine.
>
> However, my KDE is in UTF-8 and with that setting, Cervisia displays
> two (!) Boxes for every non ASCII character in diff and annotate and
> writes UTF-8 characters for non ASCII characters entered as commit
> comments both to the log and into the commited files.
>
> It seems to me that what is necessary here, is that cervisia converts
> text to and from latin when invoking cvs. Is there a way to configure
> cervisia to do that? Anybody else had that problem? Is there a
> workaround?

Cervisia runs the cvs command and parses its output and uses the user's
locale to convert this ASCII output to unicode strings (and the other
direction, e.g. commit messages, works the same way).

Can you try to run cervisia from console with a given locale:

de_DE@euro cervisia

Check with the command locale whether de_DE@euro is installed on your
box. If not then install it or choose an existing locale that fits.


Cheers,
André
_______________________________________________
Cervisia mailing list
Cervisia@...
https://mail.kde.org/mailman/listinfo/cervisia