When converting the "\" character using two methods (codePointAt(0). Or charCodeAt(0)), 0 is returned. The rest of the characters are converted without problems...