(c)
| 3611 | } |
| 3612 | |
| 3613 | function astralReplacer(c){ |
| 3614 | // http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae |
| 3615 | var high = c.charCodeAt(0); |
| 3616 | var low = c.charCodeAt(1); |
| 3617 | var codePoint = (high - 0xD800) * 0x400 + low - 0xDC00 + 0x10000; |
| 3618 | return "&#x" + codePoint.toString(16).toUpperCase() + ";"; |
| 3619 | } |
| 3620 | |
| 3621 | function getInverse(inverse, re){ |
| 3622 | function func(name){ |