CrendKing / avisynth_filter

DirectShow filters that put AviSynth and VapourSynth into video playing
MIT License
108 stars 8 forks source link

Import error from a UTF8 path via RC #57

Closed chainikdn closed 3 years ago

chainikdn commented 3 years ago

Error message received back via RC is good:

Import: couldn't open 'C:\Users\Дмитрий\AppData\Roaming\SVP4\scripts\a13335d4.avs

while the yellow on-screen text contains non-alpha characters.

Interesting enough that it works OK if the log file is specified in registry. Also works with a fixed script (not via RC). Something about encoding conversion initialization?

chainikdn commented 3 years ago

https://github.com/CrendKing/avisynth_filter/blob/313004747de3ddbd0cd18c12f1ffd991e9cc4fad/filter_common/src/environment.cpp#L36

CrendKing commented 3 years ago

Fixed. But if someone puts their SVP directory in non-ASCII path, the dll load will fail, no?