Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

スラッシュやセミコロンを含む単語の扱い #184

Closed
fabon-f opened this issue Jul 12, 2024 · 2 comments
Closed

スラッシュやセミコロンを含む単語の扱い #184

fabon-f opened this issue Jul 12, 2024 · 2 comments

Comments

@fabon-f
Copy link

fabon-f commented Jul 12, 2024

辞書読み込み時

(concat ...)を使ってエスケープされている(主に非ユーザー辞書の)エントリにおいて、\057は適切に/に変換されるものの、\073;にならずそのまま出力されてしまいます。

ユーザー辞書登録時

スラッシュやセミコロンを含む単語を辞書登録するか既存の辞書から変換し、その後ユーザー辞書を保存すると、スラッシュやセミコロンがエスケープされない状態でファイルに保存され、次に変換したときに意図しない候補が出てしまいます。

たとえば「ふぇいとぜろ」に対し「Fate/Zero」と変換してユーザー辞書を保存すると、ふぇいとぜろ /Fate/Zero/というエントリが追加され、次に変換した際に「Fate」と「Zero」という正しくない候補が出てしまいます。「STEINS;GATE」の場合も保存されるエントリがしゅたいんずげーと /STEINS;GATE/となるので同様の問題が発生します。

@mtgto
Copy link
Owner

mtgto commented Jul 13, 2024

報告ありがとうございます。

\073 はSKK-JISYO.Lにはなかったため気付いていませんでした。対応します。

ユーザー辞書登録時にスラッシュやセミコロンのような辞書用に使われている特殊文字が含む場合も同様の対応をしたほうがよさそうですね。対応します。

@mtgto
Copy link
Owner

mtgto commented Jul 14, 2024

0.25.1で修正しました。
https://github.com/mtgto/macSKK/releases/tag/0.25.1

@mtgto mtgto closed this as completed Jul 14, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants