Hi, everyone! As you can guess, I'm having problems opening my avs files in virtualdub. When I wanna import them, Virtualdub sends me this message: Avisynth open failure: Import: UTF-8 source files are not supported, re-save script ANSI encoding!: "C:\Users\User\Other stuff\AVS\filename.avs")
I used this code: FFVideoSource("C:\Users\User\Other stuff\AVS\filename.mkv")
What should I do? I would really appreciate any help it! Thank you in advance!
[MOD258: Removed the filename. Please read the rules.]
UTF-8 source files are not supported
- Andyme
- Joined: Mon Dec 17, 2007 5:33 am
- Contact:
- Scintilla
- (for EXTREME)
- Joined: Mon Mar 31, 2003 8:47 pm
- Status: Quo
- Location: New Jersey
- Contact:
Re: UTF-8 source files are not supported
Use Notepad to open the file, and when you re-save it, make sure the "Encoding" option in the save dialog is set to "ANSI".
- mirkosp
- The Absolute Mudman
- Joined: Mon Apr 24, 2006 6:24 am
- Status: (」・ワ・)」(⊃・ワ・)⊃
- Location: Gallarate (VA), Italy
- Contact:
Re: UTF-8 source files are not supported
Yes, AVS scripts need to be saved as ANSI. However, if you were to need to open a file that has UTF-8 characters in the path or filename, you can actually specify the parameter utf8=true when calling ffvideosource, save the script as UTF-8 without BOM, and then see if that works.
- Andyme
- Joined: Mon Dec 17, 2007 5:33 am
- Contact:
Re: UTF-8 source files are not supported
It worked! Thank you so-so much for the reply! You saved my next amv! When It's done, you have to decide wether or not It was worth it.