oftn-oswg / coca

An implementation of C in JavaScript.
Other
10 stars 3 forks source link

UTF-16 surrogates should only advance the column number by one #7

Closed devyn closed 13 years ago

devyn commented 13 years ago

Or should it? I'm not sure. It should probably advance the cursor twice, but the column only once.

dsamarin commented 13 years ago

Oh yeah I was about to tell you about that. The column should only be moved once. The cursor needs to be moved twice.