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 00:43:58 +0000 (16:43 -0800)
commit2be1523bddc329f4487d06f7c20dc2518667aba6
treec9cf71a7fc64cb5fd7f099f83f8cdc53299202d6
parent2f5ada58db8664937a58ee237728fbcf4a79f6c5
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