l3tnun / EPGStation

Mirakurun を使用した録画管理ソフト
https://twitter.com/l3tnun
MIT License
559 stars 150 forks source link

needToReplaceEnclosingCharacters: Fails to replace multiple of the same character #639

Closed TurtleWilly closed 1 year ago

TurtleWilly commented 1 year ago

環境

Issue

If "needToReplaceEnclosingCharacters" is configured, then characters like 🈑 are replaced with easier to manage and more compatible strings like [字]. Generally this works fine.

In some rare cases some titles use one character (e.g. the "has subtitles" symbol) more than once. In such cases only the first symbol is replaced, the second is left as it with the less compatible plane 1 character, e.g.:

【4週連続オムニバスDRAMA】#3さよならの向う側[字]&5分後に意外な結末🈑

(Note: how there's [字] and 🈑 in the title now. It was one program with 2 dramas in the timeslot.)

l3tnun commented 1 year ago

version 2.7.0 で修正されました。