mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Punycode encoder/decoder: separate core and parts that depend on UTF8
encoder/decoder Swift SVN r20307
This commit is contained in:
@@ -92,7 +92,7 @@ void Mangler::mangleIdentifier(Identifier ident, OperatorFixity fixity) {
|
||||
|
||||
if (isNonAscii(str)) {
|
||||
Buffer << 'X';
|
||||
Punycode::encodePunycode(str, punycodeBuf);
|
||||
Punycode::encodePunycodeUTF8(str, punycodeBuf);
|
||||
str = punycodeBuf;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user