webchurch icon indicating copy to clipboard operation
webchurch copied to clipboard

Unicode problematic

Open longouyang opened this issue 11 years ago • 1 comments

Copying code from PDFs (e.g., in class solutions) often doesn't work because it introduces (potentially invisible) Unicode characters like '\xe2'.

This might be a feature - we could add a custom error message like "don't just copy/paste the homework solutions".

The broader point: this is something we should handle, one way or another.

longouyang avatar Oct 29 '13 21:10 longouyang

On the WebChurch side, we could transform the names as per the way it's already done, so you could give arbitrarily weird names. From a UI standpoint, maybe a solution is to have a JS regex that scrubs all unicode characters so they never show up? (this would solve the invisible char issue)

juliusc avatar Oct 29 '13 21:10 juliusc