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: dev-unsubscr...@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to