Vgstation13: stange anti-british bug

Created on 29 Dec 2016  路  14Comments  路  Source: vgstation-coders/vgstation13

(WEB REPORT BY: pvak REMOTE: 172.93.109.202:7777)

Revision (Should be above if you're viewing this from ingame!)

General description of the issue
writing a message with the pound sign (拢) breaks it and makes it unable to be sent (for chat + ooc) when used on ahelp it makes the bwoink sound but its invisible for the receiver http://puu.sh/t4Tug/b79ebe81a3.png

What you expected to happen
be able to use 拢

What actually happened
racism against british people

Steps to reproduce if possible
write 拢 on chat
try send message
get nothing

i blame ira for this

Bug / Fix Goonchat T-Thanks BYOND

Most helpful comment

Why fix this, the Brits deserve it

All 14 comments

All special characters break it
Blame BYOND

You could remove the double url_encode in browserOutput.dm so issues like those and the H茅cate are fixed, it's not like UTF-8 is used outside of the screaming russians

Goonchat ALWAYS uses UTF-8
The problem is that BYOND doesn't.

@mph55 is correct here.

That'd fix it, but only for the Windows-1252 range.

No the issue is that anything above 127 is different between UTF-8 and Windows-1252, so the Javascript client side throws a Unicode Decode Error.

I would've already fixed this if Javascript weren't a shit language and actually allowed you to specify the encoding to use when decoding.

Like, my best idea would be to catch the UnicodeDecodeError and then use a regex to turn the encoded Windows-1252 bytes that aren't valid UTF-8 into UTF-8.

Why fix this, the Brits deserve it

@DrCelt stop shitposting.

You people make me sick.

Of course there are no british, it's the future!

This no longer seems to be the case.
image

But did you try it with 2 clients? Sounds like the issue is when they use two different encodings.

Nah. This is fixed.

This was the exact issue libvg was originally created to fix

Was this page helpful?
0 / 5 - 0 ratings