Some characters in the labels kill the browser (in MacOS)

1. A concise explanation of the problem you’re experiencing.

The browser doesn’t respond in MacOS (in both Safari and Chrome) when I use a label with some specific characters. I have to kill the browser.

In Linux it shows a rectangle but the browser continues responding:

I’ve not tested it the code in Windows.

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

It happens with several characters. In this example I’m using this character and it can be reproduced in the Sand Castle:

var viewer = new Cesium.Viewer(‘cesiumContainer’);

var label = String.fromCharCode(154);

viewer.entities.add({
position : Cesium.Cartesian3.fromDegrees(-75.1641667, 39.9522222),
label : {
text : label
}
});

``

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

Our clients are the responsible to introduce the “strings”.

4. The Cesium version you’re using, your operating system and browser.

The latest version deployed in the SandCastle (1.41)

Hi there,

This looks like an issue that was already reported: #4918. I’ve bumped the issue with this report as well.

If you have the time or the bandwidth to take a look at the issue, contributions are always appreciated!

Thanks!

Gabby

Hi Gabby

Thanks a lot for the info!

Regards,

Jorge