# Subversion contains filenames with utf-8 encoding

**URL:** https://www.finalbuilder.com/forums/t/subversion-contains-filenames-with-utf-8-encoding/5935
**Category:** Bugs
**Created:** [October 15, 2014, 8:33am UTC](https://www.finalbuilder.com/forums/t/subversion-contains-filenames-with-utf-8-encoding/5935 "2014-10-15T08:33:02Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![license](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/l/f04885/32.png) [@license](https://www.finalbuilder.com/forums/u/license)
#### Post date: [October 15, 2014, 8:33am UTC](https://www.finalbuilder.com/forums/t/subversion-contains-filenames-with-utf-8-encoding/5935/1 "2014-10-15T08:33:02Z")

</div>

ContinuaCI cannot handle UTF-8 characters in filenames.  
  
Is there a way to set command options on hg.exe ?  
  
  
Regards  
Hans

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [October 16, 2014, 12:24pm UTC](https://www.finalbuilder.com/forums/t/subversion-contains-filenames-with-utf-8-encoding/5935/2 "2014-10-16T12:24:08Z")

</div>

Hi Hans,  
  
Can you post the steps to reproduce this? I just added a file named&nbsp;Völlerei lässt grüßen.txt to our test SVN repository and the build ran without error. Which version of ContinuaCI are you running? Are there any errors in the event log? It will also help us to investigate this quicker if you send a [debug log](http://wiki.finalbuilder.com/x/GwB8) to [support@finalbuilder.com](mailto:support@finalbuilder.com)

---

<div class="post-metadata">

### Author: ![license](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/l/f04885/32.png) [@license](https://www.finalbuilder.com/forums/u/license)
#### Post date: [October 20, 2014, 11:14am UTC](https://www.finalbuilder.com/forums/t/subversion-contains-filenames-with-utf-8-encoding/5935/3 "2014-10-20T11:14:41Z")

</div>

Hi&nbsp;  
Inside the attached zip-File you will find the kind of files we have in the repository.  
Could you make a try with the cyrillic filename, this kind of files causes errors when ContinuaCI wants to retrieve the repository.  
  
Regards  
Hans  
  
[\_\_32773\_\_0\_\_Files.zip](https://www.finalbuilder.com/forums/uploads/default/original/2X/0/092aad4e3cf56da30839ef0f663140e691e041b9.zip) (470 B)

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [October 21, 2014, 5:29am UTC](https://www.finalbuilder.com/forums/t/subversion-contains-filenames-with-utf-8-encoding/5935/4 "2014-10-21T05:29:29Z")

</div>

Hi Hans,  
  
Thanks for sending these examples. We’ve reproduced the issue here. There is no simple way to get Mercurial to accept the Cyrillic characters in the filename. We have however worked out a possible solution based on an extension called&nbsp;fixutf8. We’ll need to do some work to integrate this with Continua and ensure that it does not break existing repositories, so it may be a few days before we can release an update.

---

<div class="post-metadata">

### Author: ![license](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/l/f04885/32.png) [@license](https://www.finalbuilder.com/forums/u/license)
#### Post date: [June 19, 2017, 11:51am UTC](https://www.finalbuilder.com/forums/t/subversion-contains-filenames-with-utf-8-encoding/5935/5 "2017-06-19T11:51:06Z")

</div>

Hi  
  
After more than 2 years I retried again to migrate our FinalBuilder Server projects to Continua with the latest version.  
  
I get still the same issues with utf-8 encoded filenames.  
  
Is there a solution under way ?  
  
Regards,  
Hans

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [June 19, 2017, 1:03am UTC](https://www.finalbuilder.com/forums/t/subversion-contains-filenames-with-utf-8-encoding/5935/6 "2017-06-19T01:03:16Z")

</div>

Hi Hans   
  
 We are acutely aware of this. The issue is with our use of Mercurial as a repository cache and tranport mechanism (between server and agents), mercurial just doesn’t deal with file name encoding properly on windows (because windows uses ansi or utf-16). There is some work underway by the mercurial dev team - [https://www.mercurial-scm.org/wiki/WindowsUTF8Plan](https://www.mercurial-scm.org/wiki/WindowsUTF8Plan) but it’s progress is slow. I have had a look at the mercurial source to see if we could contribute, however our python experience here is rather limited, and the mercuial code is quite complex.   
  
 I notice that we are still shipping 3.9.2 and the latest is 4.2.1 so we’ll do some testing and see if anything has improved.
