OpenTTD / OpenTTD

OpenTTD is an open source simulation game based upon Transport Tycoon Deluxe
https://www.openttd.org/
Other
6.26k stars 875 forks source link

Map signs allow less nonenglish characters than english ones #674

Closed DorpsGek closed 17 years ago

DorpsGek commented 17 years ago

HMage opened the ticket and wrote:

This bug is easily verified.

When typing custom signs, there's a limit for 26 bytes, but that means 26 English letters, but less than 26 for any other language. For example, Russian is limited to 14 letters.

See attached screenshot.

Attachments

Reported version: 0.5.0 Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/674
DorpsGek commented 17 years ago

Progman wrote:

Depend on the encoding Unicode need 2 bytes for a char. In this case these 14 russian chars uses 28bytes of memory/data. With the same space you can, as you see, create a string with 26 ascii-chars.


This comment was imported from FlySpray: https://bugs.openttd.org/task/674#comment1101
DorpsGek commented 17 years ago

HMage wrote:

Ah, but that's a little bit inconvinient to have that little space for signs. This space will fit for about from one to two average russian words -- for a good meaningful sign Russian users would need two signs at least.


This comment was imported from FlySpray: https://bugs.openttd.org/task/674#comment1123
DorpsGek commented 17 years ago

TrueBrain closed the ticket.

Reason for closing: Won't fix

A result of Unicode. In the future text-length might be extended, but currently it won't.


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