Buffalo Forums

Products => Storage => Topic started by: masteroid on October 06, 2020, 03:52:56 AM

Title: Bittorent client corrupts non-ASCII file names
Post by: masteroid on October 06, 2020, 03:52:56 AM
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: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 45 (show)
Files included: 27 - 1055KB. (show)
Memory used: 735KB.
Tokens: post-login.
Queries used: 10.

[Show Queries]