mirror of
https://github.com/koel/koel.git
synced 2026-04-25 00:36:03 +03:00
[GH-ISSUE #561] Flac Transcoding with non ASCII Titles #402
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#402
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mariuskreutzer on GitHub (Mar 16, 2017).
Original GitHub issue: https://github.com/koel/koel/issues/561
The default flac encoding doesn't work with Non-ASCII File names, as escapeshellarg seems to remove these characters by default.
When I insert setlocale(LC_CTYPE, "de_DE.UTF-8");
before the $args line it works.
@BrookeDot commented on GitHub (Apr 22, 2020):
Can you give the steps to reproduce, for example a file name that is failing?
@BrookeDot commented on GitHub (Apr 22, 2020):
Another example from #728
Possibly could be resolved by allowing a new
envsetting to set the type.@Hyzual commented on GitHub (Apr 25, 2020):
Hi, I can confirm this problem. Here is a filename that reproduces it:
01.エイミー.flacThe same file, when named
12- Glenn Stafford - Zerg Two.flacplays fine.@sweetlazyboy commented on GitHub (Dec 18, 2020):
I insert
setlocale(LC_CTYPE, "zh_CN.UTF-8");
before the $args line, but still not works.
setlocale(LC_CTYPE, "en_US.UTF-8");
not work, too
@bitxel commented on GitHub (Mar 28, 2021):
@sweetlazyboy you need to check whether this locale is in your OS or not by running
locale -afor my case, I need to insert
setlocale(LC_CTYPE, "C.UTF-8");@maxysoft commented on GitHub (Jun 1, 2021):
I can confirm that the following edit fixed my problem. In that case I have the same locale.