OSDN Git Service

In case conversion from EUC-JP to Unicode requires surrogate pairs for some character...
authorEric Branlund <ebranlund@fastmail.com>
Sun, 22 Nov 2020 00:43:58 +0000 (16:43 -0800)
committerEric Branlund <ebranlund@fastmail.com>
Sun, 22 Nov 2020 01:03:41 +0000 (17:03 -0800)
commit9518ab4d67976557e1617b592754c9e99394c0bb
treeea28418d73422993c91d7be416a207d6cb6d0aac
parentee11f602edc25bff946050d396a47a8733937c1e
In case conversion from EUC-JP to Unicode requires surrogate pairs for some characters, use CFStringIsSurrogateHighCharacter() and CFStringGetLongCharacterForSurrogatePair() in the conversion. Both require 10.6.
src/main-cocoa.m