News:

Buffalo provides Data Recovery services. Read about it here.

Main Menu

Bittorent client corrupts non-ASCII file names

Started by masteroid, October 06, 2020, 03:52:56 AM

Previous topic - Next topic

masteroid

Hi!
I had a problem - embedded bittorrent client corrupted names with unicode (non-ASCII) characters. The problem was due to system-wide ASCII C locale setup.
To solve the problem I added at the beginning of bittorrent startup script /etc/init.d/bittorrent.sh:
export LANG=C.UTF-8
That instructs standard C library to work in unicode locale.
I hope the unicode issue would be solved in future firmware releases out-of-box.

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 5: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default), StopForumSpam.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 111 (show)
Files included: 35 - 1354KB. (show)
Memory used: 931KB.
Tokens: post-login.
Queries used: 15.

[Show Queries]