0
我使用MSBuild
,FLAC
和LAME
来管理我的MP3收藏,但是当它遇到与文件名非ASCII字符的文件失败。MSBuild执行任务失败,Unicode文件名?
下,砍伐,项目文件显示问题:
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
ToolsVersion="4.0" DefaultTargets="Default">
<PropertyGroup>
<FLAC>"C:\Program Files (x86)\Flac\bin\flac.exe"</FLAC>
</PropertyGroup>
<ItemGroup>
<Decode
Include="D:\Music\Artists\Kruder Dorfmeister\The K&D Sessions\**" />
</ItemGroup>
<Target Name="Default" Inputs="@(Decode)" Outputs="%(Identity).always">
<Exec Command="$(FLAC) --decode "@(Decode)"" />
</Target>
</Project>
当此到达"D:\Music\Artists\Kruder Dorfmeister\The K&D Sessions\Part One\02 - Jazz Master (K&D Session™).flac"
时,出现以下错误消息:
Default:
"C:\Program Files (x86)\Flac\bin\flac.exe" --decode "D:\Music\Artists\Kruder Dorfmeister\The K&D Sessions\Part One\02
- Jazz Master (K&D SessionT).flac"
02 - Jazz Master (K&D SessionT).flac: ERROR initializing decoder
init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE
An error occurred opening the input file; it is likely that it does not exist
or is not readable.
正如你所看到的东西正在将“™”并将其转换为“T”。
可是什么?我该如何解决这个问题?