Mtarnuhal / FrozenCookies

An automated Cookie Clicker tool.
27 stars 22 forks source link

error with character format #69

Closed Vaquicraft closed 3 years ago

Vaquicraft commented 3 years ago

image

Hello.

As you can see in the screenshot, the french character "é" of "sablés" is not working correctly at the left-bottom of the screen.

Mtarnuhal commented 3 years ago

Thanks for reporting this issue. Already have an idea what is causing this. Probably we have to add a javascript decode. function decodeHtml(html) { var txt = document.createElement("textarea"); txt.innerHTML = html; return txt.value; } What do you think @adavidw

adavidw commented 3 years ago

I've never noticed that myself, which means that sablés probably came and went on my run-throughs before I ever saw it.

What about the recommendation list? Does it show correctly there?

adavidw commented 3 years ago

Actually, I just changed one of the building names to "sablés" and that appears to show correctly. Maybe it's different when it's the actual sablés item, so I'll try to get a different run-through to get that.

But, is it possible the problem is somewhere else? @Vaquicraft can you determine what encoding your browser is set to?

image
adavidw commented 3 years ago

Nevermind, when I go through and get to the actual "sablés", I can reproduce. Attached is a save file reproducing the issue that we can use for testing. FancyPortalBakery.txt