Aegisub-Scripts icon indicating copy to clipboard operation
Aegisub-Scripts copied to clipboard

Encode clip: errors when source file includes non-ASCII characters

Open LightArrowsEXE opened this issue 4 years ago • 1 comments

[file] Cannot open file 'E:\Anime\Fansubbing\Git Repositories\Kaleido-subs\The-World-Ends-With-You\01\「すばらしきこのせかい The Animation」PV第2弾-XY5ybJ7OEA4.mkv': No such file or directory
Failed to open E:\Anime\Fansubbing\Git Repositories\Kaleido-subs\The-World-Ends-With-You\01\「すばらしきこのせかい The Animation」PV第2弾-XY5ybJ7OEA4.mkv.

[encode] no data written to target file
Exiting... (Interrupted by error)

LightArrowsEXE avatar Feb 23 '21 03:02 LightArrowsEXE

From #5, a workaround/fix is to force windows to use UTF-8 (check the checkbox, and possibly reboot to apply the changes). Windows, Region settings dialog

Since the error occurs even with U+00D1, it seems obvious this is a generic unicode problem. Unsure if this is fixable on the lua side, needs investigation.

petzku avatar Aug 19 '21 10:08 petzku