as stated by Arion_p, all DShowFilters in MP are compiled as ANSI and thus do not support unicode.
I have problem when i try to record any TV program that has some diacrytics in its name (coming from EPG). Example: "Zoés Zauberschrank".
I also want to record another TV programs that have cyrillic in their names. Example: "Среда обитания".
So setting default codepage for nonunicode programs can't help as the above examples have symbols that cannot be mapped to one codepage.
My patch for TSWriter just adds new function for setting unicode filename for recording, and use this unicode filename later on when recording starts. I left old ANSI function as i don't know what plugins can use it, so old behavior still possible.
Another part of patch forces TVService and TVLibrary to use this new unicode function.
And small change to be able to see these unicode filenames in log file - now TSWriter log is UTF8 -encoded.
I tested all this on my system, and it works.
if you have suggestions how to implement it in better way (except of compiling TSWriter completely with unicode flag) - don't hesitate to discuss it here.
here are some links to threads discussing this problem:
https://forum.team-mediaportal.com/mediaportal-1-1-0-rc-1-2-496/problem-recording-tv-80966/
https://forum.team-mediaportal.com/mediaportal-1-1-0-rc-1-2-496/recorder-unable-create-file-81721/
https://forum.team-mediaportal.com/.../cannot-record-shows-double-byte-names-53580/
I have problem when i try to record any TV program that has some diacrytics in its name (coming from EPG). Example: "Zoés Zauberschrank".
I also want to record another TV programs that have cyrillic in their names. Example: "Среда обитания".
So setting default codepage for nonunicode programs can't help as the above examples have symbols that cannot be mapped to one codepage.
My patch for TSWriter just adds new function for setting unicode filename for recording, and use this unicode filename later on when recording starts. I left old ANSI function as i don't know what plugins can use it, so old behavior still possible.
Another part of patch forces TVService and TVLibrary to use this new unicode function.
And small change to be able to see these unicode filenames in log file - now TSWriter log is UTF8 -encoded.
I tested all this on my system, and it works.
if you have suggestions how to implement it in better way (except of compiling TSWriter completely with unicode flag) - don't hesitate to discuss it here.
here are some links to threads discussing this problem:
https://forum.team-mediaportal.com/mediaportal-1-1-0-rc-1-2-496/problem-recording-tv-80966/
https://forum.team-mediaportal.com/mediaportal-1-1-0-rc-1-2-496/recorder-unable-create-file-81721/
https://forum.team-mediaportal.com/.../cannot-record-shows-double-byte-names-53580/
Russian Federation