# Chat messages showing non-ascii characters

**URL:** <https://devforum.zoom.us/t/chat-messages-showing-non-ascii-characters/40901>\
**Category:** Web\
**Created:** [January 18, 2021, 9:05pm UTC](https://devforum.zoom.us/t/chat-messages-showing-non-ascii-characters/40901 "2021-01-18T21:05:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ativsoftware](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ativsoftware/32/8986_2.png) [@ativsoftware](https://devforum.zoom.us/u/ativsoftware)\
**Post date:** [January 18, 2021, 9:05pm UTC](https://devforum.zoom.us/t/chat-messages-showing-non-ascii-characters/40901/1 "2021-01-18T21:05:19Z")

</div>

Chat messages received on web sdk (1.8.6) show garbage characters if sent from Mac client (5.4.7).  
Also does not display proper characters if chat sent from iOS SDK (5.4.54…)

Messages sent from web sdk show up as “[This is an encrypted message]” on iOS SDK and Mac client.

 ![Screen Shot 2021-01-18 at 4.04.15 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/a/da697cadeda88f2d10a46109691f7ff2dbb36d10.png)

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 20, 2021, 1:39am UTC](https://devforum.zoom.us/t/chat-messages-showing-non-ascii-characters/40901/2 "2021-01-20T01:39:51Z")

</div>

Hey @ativsoftware,

Thank you for reaching out to the Zoom Developer Forum. I tried reproducing this issue on my end but didn’t see the same issue. Does this happen only during meetings or webinars or are there other settings to reproduce the issue? Are you also able to provide a meeting ID where this happened?

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![ativsoftware](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ativsoftware/32/8986_2.png) [@ativsoftware](https://devforum.zoom.us/u/ativsoftware)\
**Post date:** [January 20, 2021, 2:17pm UTC](https://devforum.zoom.us/t/chat-messages-showing-non-ascii-characters/40901/3 "2021-01-20T14:17:31Z")

</div>

It was on a webinar: 83458851102

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 20, 2021, 10:41pm UTC](https://devforum.zoom.us/t/chat-messages-showing-non-ascii-characters/40901/4 "2021-01-20T22:41:23Z")

</div>

Hey @ativsoftware,

Thank you for providing additional information. I tested this again using our [Sample Angular App](https://github.com/zoom/websdk-sample-angular) when in a Webinar and still wasn’t able to see the issue. I tested when sending to and from the following:

- Web SDK 1.8.6
- MacOS Client 5.4.7 and 5.4.9
- iOS Client 5.4.10
- Android Client 5.4.7

Are you seeing the same issue when using the Sample Angular app or our [Sample Web App](https://github.com/zoom/sample-app-web)? This will help me to narrow down the cause.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![ativsoftware](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ativsoftware/32/8986_2.png) [@ativsoftware](https://devforum.zoom.us/u/ativsoftware)\
**Post date:** [January 21, 2021, 6:20pm UTC](https://devforum.zoom.us/t/chat-messages-showing-non-ascii-characters/40901/5 "2021-01-21T18:20:31Z")

</div>

Is there a standalone working implementation where I can just test by entering a meeting ID, key, secret, etc?

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 21, 2021, 10:39pm UTC](https://devforum.zoom.us/t/chat-messages-showing-non-ascii-characters/40901/6 "2021-01-21T22:39:03Z")

</div>

Hey @ativsoftware,

That is essentially what the Sample Web App is, but it does require some configuration the first time you run it. You can change the API Key and Secret at the following lines:

> <https://github.com/zoom/sample-app-web/blob/5bdebf62bb35a495dad6e30877317964a3601f30/Local/js/index.js#L13-L19>

Then you would run `npm install` and `npm start` in the terminal to get it running. From there, you can serve it locally over HTTPS using [ngrok](https://ngrok.com/) using the command `ngrok http 9999`. This is the process I use for testing the Web SDK. Testing with the Sample Angular App is similar but does have some differences.

I hope that helps! Let me know if you have any questions.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![ativsoftware](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ativsoftware/32/8986_2.png) [@ativsoftware](https://devforum.zoom.us/u/ativsoftware)\
**Post date:** [February 17, 2021, 8:55pm UTC](https://devforum.zoom.us/t/chat-messages-showing-non-ascii-characters/40901/7 "2021-02-17T20:55:29Z")

</div>

I tried again with web sdk 1.9.0 and the latest Mac client and got the same results.

Could it matter how we set things up for the web sdk?  
Here’s our code:

```
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/1.9.0/css/bootstrap.css" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/1.9.0/css/react-select.css" />

<script src="https://source.zoom.us/1.9.0/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/1.9.0/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/1.9.0/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/1.9.0/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/1.9.0/lib/vendor/jquery.min.js"></script>
<script src="https://source.zoom.us/1.9.0/lib/vendor/lodash.min.js"></script>

<!-- import ZoomMtg -->
<script src="https://source.zoom.us/zoom-meeting-1.9.0.min.js"></script>

<script>
    var initialized = false;
    $(document).ready(function(){
        if (initialized == false) {
            initialized = true;
            let curUrl = "<?php echo $this->return_url; ?>";

            ZoomMtg.setZoomJSLib('https://source.zoom.us/1.9.0/lib', '/av'); 
            ZoomMtg.preLoadWasm();
            ZoomMtg.prepareJssdk();
            console.log(JSON.stringify(ZoomMtg.getWebSDKVersion()));

            ZoomMtg.init({
                debug: false,
                leaveUrl: curUrl,
                isSupportAV: true,
                isSupportChat: true,
                disableInvite: true,
                meetingInfo: [
                  'topic',
                  'mn',
                  'participant',
                  'enctype',
                ],
                success: function() {
                    ZoomMtg.join({
                        signature: "<?php echo $signature; ?>",
                        apiKey: "<?php echo $this->api_key; ?>",
                        meetingNumber: <?php echo $this->meetingid; ?>,
                        userName: "<?php echo $userName; ?>",
                        passWord: "<?php echo $this->password; ?>",
                        userEmail: "<?php echo $this->email; ?>", 
                        success(res) {
                        },
                        error(res) { 
                            console.log(res);
                        }
                    })
                },
                error: function() {
                    console.log("init failed");
                }
            });
        }
    });
</script>
```

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [February 17, 2021, 11:19pm UTC](https://devforum.zoom.us/t/chat-messages-showing-non-ascii-characters/40901/8 "2021-02-17T23:19:26Z")

</div>

Hey @ativsoftware,

Thank you for the update. This could be related to the browser that you’re using to run the Web SDK. Have you tried using a different browser, updating your existing browser or clearing your cache?

If that doesn’t help, please send an email to [developersupport@zoom.us](mailto:developersupport@zoom.us) with a link to this thread. We can set up a meeting from there and troubleshoot the issue live to make sure that I’m not missing any steps to reproduce the issue.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [March 20, 2021, 9:20am UTC](https://devforum.zoom.us/t/chat-messages-showing-non-ascii-characters/40901/9 "2021-03-20T09:20:11Z")

</div>

Closed on March 20, 2021, 9:20am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
