necouchman commented on code in PR #999:
URL: https://github.com/apache/guacamole-client/pull/999#discussion_r2280434907


##########
guacamole-common-js/src/main/webapp/modules/StringWriter.js:
##########
@@ -161,7 +161,12 @@ Guacamole.StringWriter = function(stream) {
 
         // Fill buffer with UTF-8
         for (var i=0; i<text.length; i++) {
-            var codepoint = text.charCodeAt(i);
+            var codepoint = text.codePointAt(i);

Review Comment:
   Need to add the check for `codePointAt()`, here, as well.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to