latex-input icon indicating copy to clipboard operation
latex-input copied to clipboard

latex.ahk incorrectly handles values above U+FFFF

Open kmgb opened this issue 2 years ago • 0 comments

AHK syntax expects Send {U+nnnn}, so it does not support the 5 digit codepoints correctly. For example \mathcal{S} produces 풮 instead of 𝒮 as it ignores the first char of {U+1D4AE}, producing {U+D4AE}.

To support these characters properly, they need to be encoded in surrogate pairs like Send {U+D835}{U+DCAE}

kmgb avatar Aug 26 '22 01:08 kmgb