-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create mix record fail in music library(path with non-ascii character) #6282
Comments
Commented by: daschuer the attached patch solves the problem for lp:mixxx #2987. |
Commented by: rryan Hey Daniel, I see you use toLocal8Bit() as the argument to sf_open. In src/soundsourcesndfile.cpp you'll see that on Windows we use toLocal8Bit() but on all others we use toUtf8(). Does toUtf8() work as well? Even if it does, I'd prefer we duplicate the logic in src/soundsourcesndfile.cpp unless you know of a reason not to. Also, we should probably get people to test this on Windows, Mac and Linux before committing. |
Commented by: daschuer Hi RJ toLocal8Bit does the Magic:
Regards, Daniel |
Commented by: rryan Here's the implementation of toLocal8Bit(): So as the name implies it's locale dependent. I wonder this could ever
|
Commented by: rryan I went ahead and committed the patch. If it fails we'll probably hear about it. |
Issue closed with status Fix Released. |
Reported by: jacksjy
Date: 2012-02-22T13:02:40Z
Status: Fix Released
Importance: Medium
Launchpad Issue: lp938648
Attachments: recording_non_ascii.patch
under Ubuntu 10.04
If the path to the music library contain non-ascii character.
(like /home/user/音乐)
Record Mix function in Mixxx can't handle correctly with the path.
And popup file create fail dialog, cause by permission or not enough
disk space.
but folder Mixxx/Recordings can create under such path.
################################################
LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:en
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=
The text was updated successfully, but these errors were encountered: