Issue #281: cyrillic letters in repository filenames results in error (conservancy/kallithea)

Alexander Nikitin issues-reply at bitbucket.org
Thu Jun 1 11:33:10 UTC 2017


New issue 281: cyrillic letters in repository filenames results in error
https://bitbucket.org/conservancy/kallithea/issues/281/cyrillic-letters-in-repository-filenames

Alexander Nikitin:

Hello.

I've got a problem with displaying repository contents when it contains files with cyrillic letters: 

when using default setting of 
**default_encoding = utf8** 
and 
**lang = ru**
I've got the following behaviour

1. User interface is ok:
![1.user_interface_is_ok.png](https://bitbucket.org/repo/EaGrMn/images/2705316967-1.user_interface_is_ok.png)

2. File name and it's contents are not ok
![2.file_name_and_file_content_are_not_ok.png](https://bitbucket.org/repo/EaGrMn/images/585313660-2.file_name_and_file_content_are_not_ok.png)

3. File's URL doesn't work
![3.url_link_to_file_with_cyrillic_doesn't_work.png](https://bitbucket.org/repo/EaGrMn/images/2679617550-3.url_link_to_file_with_cyrillic_doesn't_work.png)

when using setting of 
**default_encoding = utf8,cp1251** 
and 
**lang = ru**
I've got the following behaviour

1. User interface is still ok

2. File name and it's contents are ok now
![2.1.file_name_and_file_content_are_ok_now.png](https://bitbucket.org/repo/EaGrMn/images/2228203591-2.1.file_name_and_file_content_are_ok_now.png)

3. But file link still doesn't work
![3.url_link_to_file_with_cyrillic_still_doesn't_work.png](https://bitbucket.org/repo/EaGrMn/images/439380646-3.url_link_to_file_with_cyrillic_still_doesn't_work.png)



Attached you will find hg repository that used for tests




More information about the kallithea-general mailing list