In JavaScript I can do this:
foo = "\u2669" // 1/4 note
But I can't do this
foo = "\u1D15D" // full note -five hex digits
It will be interpreted as "\u1D15" followed by "D"
Are there any workarounds for this?
UPDATE 2012-07-09: The proposal for ECMAScript Harmony now includes support for all Unicode characters.