Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uparrow and downarrow in chat box gives '?' #1610

Closed
DorpsGek opened this issue Dec 31, 2007 · 5 comments
Closed

Uparrow and downarrow in chat box gives '?' #1610

DorpsGek opened this issue Dec 31, 2007 · 5 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

pvz opened the ticket and wrote:

In multiplayer, if you're in the type message mode (press enter), up arrow and down arrow create ? signs in the input.

Tested on r11726 on Mac OS X PPC.

Reported version: trunk
Operating system: Mac OS X


This issue was imported from FlySpray: https://bugs.openttd.org/task/1610
@DorpsGek
Copy link
Member Author

pvz wrote:

On second though, this should have Category: UI. Too late for me to change it myself.


This comment was imported from FlySpray: https://bugs.openttd.org/task/1610#comment3129

@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 1, 2008

Rubidium wrote:

It doesn't happen on my Linux system, so I presume it's something Mac specific.


This comment was imported from FlySpray: https://bugs.openttd.org/task/1610#comment3136

@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 1, 2008

egladil wrote:

The problem comes from the fact that Apple defines unicode codepoints for the arrow keys in one of the private use areas of the unicode standard. So on OS X, the arrow keys produce valid printable characters. Only, OpenTTD is not capable of printing them (and neither should it be since the glyphs for these codepoints are platform dependent).


This comment was imported from FlySpray: https://bugs.openttd.org/task/1610#comment3139

@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 1, 2008

pvz wrote:

In that case, such printing should be supressed. Nobody wants to type the uparrow/downarrow glyphs in the openttd chat.

I've done some software archeology myself, to see where that bug was introduced, and going by nightly builds it was introduced somewhere between r7176 and r7194, which is also where the unicode branch was merged in, so that supports what you're saying. I've also measured the characters actually sent on the wire, and they seem to be somewhere within the unicode private usage area as they say.

Emil, if you're taking responsibility for patching this, please post to that effect here, otherwise I'm going to start working on it.


This comment was imported from FlySpray: https://bugs.openttd.org/task/1610#comment3140

@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 1, 2008

egladil closed the ticket.

Reason for closing: Fixed

Fixed in r11740.


This comment was imported from FlySpray: https://bugs.openttd.org/task/1610

@DorpsGek DorpsGek closed this as completed Jan 1, 2008
@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant