# Re: Encoding bug when you "commit" a file

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-10-22 09:51:05 CEST

Dean Ariel wrote:
> I had a problem. when i was commiting a file wih non-english content,
> it would replace it by "?".
> How to fix:
> EDIT THE FILE
> %TORTOSESVNDIR%\TortoiseSVN\Languages\en_US.aff
>
> Edit the first line to the encoding you want (you can see the
> supported encodings in
> %TORTOISESVNdIR%\iconv

I'm sorry but I don't understand what's your problem here.
Subversion (and therefore TSVN) doesn't change the content of a file at
all, neither when committing nor in any other operation. Ok, it changes
a file during updates, but it does so line-by-line, ignoring the
encoding completely.
So how could you get a file screwed up by just committing?

The file you modified to 'fix' this is used in the commit dialog for

Do you have a recipe on how to reproduce this problem?

Stefan

```--
___
oo  // \\      "De Chelonian Mobile"
(_,\/ \_/ \     TortoiseSVN
\ \_/_\_/>    The coolest Interface to (Sub)Version Control
/_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org