FLAC support unicode? |
FLAC support unicode? |
Sep 9 2006, 10:31
Post
#1
|
|
|
Group: Members Posts: 10 Joined: 15-August 06 Member No.: 34062 |
I am a newer for FLAC. I am using FLAC to convert wave files into flac. But if the filename or directory contians Chinese, the tools told me "Error: can not open input file F:\audio\---------------".
FLAC does not support UNICODE? I need to re-complile the FLAC project? Thanks. |
|
|
|
![]() |
Sep 9 2006, 12:02
Post
#2
|
|
|
Group: Members Posts: 826 Joined: 29-September 04 Member No.: 17374 |
Hi, currently flac tools do not support unicode filenames. But you can work-around this limitation with this script:
QUOTE (flac.cmd) @echo off set encoder="C:\Program Files\flac-1.1.2-win\bin\flac.exe" set tempfile=%random%%random%%random%%random% type "%1" | %encoder% -8 - -o "%~d1%~p1%tempfile%" ren "%~d1%~p1%tempfile%" "%~n1.flac" Copy this to a text file and rename it to "flac.cmd", change the path to flac.exe (marked with green color). Then you will be able to use flac.cmd like this: Examples: F:\audio>flac.cmd 你好世界.wav this will encode to F:\audio\你好世界.flac output file. F:\>flac.cmd \audio\你好世界.wav this will also encode to F:\audio\你好世界.flac This post has been edited by Egor: Sep 9 2006, 12:50 |
|
|
|
TaichiOrange FLAC support unicode? Sep 9 2006, 10:31
Triza Not true.
I use flac 1.1.2 on linux and unicode (... Sep 9 2006, 18:54
Firon I've had problems with special characters, tho... Sep 10 2006, 04:19
kjoonlee Not many command-line encoders seem to support Uni... Sep 10 2006, 04:29
jcoalson I need to make a FAQ out of this but haven't y... Sep 10 2006, 04:42
MiSP Is lack of Unicode support still a problem using V... Sep 22 2007, 08:06
Egor QUOTE (MiSP @ Sep 22 2007, 14:06) Is lack... Sep 22 2007, 08:28
MiSP QUOTE (Egor @ Sep 22 2007, 09:28) Try the... Sep 22 2007, 15:57
whitejason QUOTE (MiSP @ Sep 22 2007, 16:57) QUOTE (... Jun 27 2011, 19:41
MiSP Bump for great justice! Is anyone able to merg... Oct 3 2007, 19:49
MiSP Anyone? I just added a few songs to my collection ... Nov 24 2007, 20:56
smok3 QUOTE (whitejason @ Jun 27 2011, 20:41) Q... Jul 12 2011, 08:59
pedlin I had a similar problem a few years back. I had tr... Aug 27 2011, 08:03
jar To MiSP, whitejason and everybody who is having si... Mar 18 2012, 22:37![]() ![]() |
|
Lo-Fi Version | Time is now: 19th June 2013 - 20:43 |