protonscr

[GoldSource] UTF in chat

steamclosed Feature RequestreviewedMOVED: Counter‐Strike
ValveSoftware/steam-for-linux#1598 · opened 2013-02-12 by LevShisterov · updated 2013-02-12 · 8 comments · github
LLevShisterov 2013-02-12 github

Please add ability to input UTF8 characters in chat and console.
There is already ability to show UTF8 text on the client, so we need only the input and a small fix in game dll.
Thanks!

Aalfred-valve maintainer 2013-02-12 github

The update yesterday added this, your welcome.

Jjohndrinkwater 2013-02-12 github

Thank you! U+1F605 (damn github :<)

AAnAkkk 2013-02-12 github

That doesn't seem to work for me, I can't even use éèà characters which are on my AZERTY keyboard. They just don't show up.

Aalfred-valve maintainer 2013-02-12 github

Let me debug it some then, I changed the code to use the SDL textinput event and in theory that should pass all these characters through.

Jjohndrinkwater 2013-02-12 github

In Half Life, can enter unicode from the y command in-game, can see characters in-game, can see it in the console, but cannot enter it into the console.
In CS 1.6, can enter unicode from the y command in-game, cant see characters in-game, cant see it in the console, and cannot enter it into the console.
en_GB.utf-8 keymap & layout, linux.

AAnAkkk 2013-02-12 github

My tests were done in CS 1.6, it that makes any difference from HL.

EDIT: What johndrinkwater said.

Aalfred-valve maintainer 2013-02-12 github

Okay, I can reproduce the console and CS 1.6 problems, will fix both.
I am not sure allowing unicode chars in the console is a good idea, but for now I'll allow it :)

LLevShisterov 2013-02-12 github

@alfred-valve, thank you very much!
It should be allowed for console to, so we will be able to use "say" and "say_team" from console too.

Nothing extracted yet.