fodev.net
15.08.2009 - 23.06.2013
"Wasteland is harsh"
Home Forum Help Login Register
  • November 24, 2024, 05:52:49 pm
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Play WikiBoy BugTracker Developer's blog
Pages: [1]

Author Topic: [Interface/I18n] Support iso charsets / unicode and use OS keyboard Layout  (Read 3826 times)


Hello Devs and Users,

 I would be very happy to see two new features in FOnline 2238.

1) Auto detect and use OS Keyboard Layout instead of fixed US/RUS.
2) Add UTF-8/UNICODE character set support.

I would be most pleased, if I would be able to use my own keyboard layout as it is printed on my Keyboard's buttons.

I'm a quick-typewriter, I don't look at the keys when I write with a keyboard and it is very hard for me to switch between different layouts (it is very annoying actually). It also starts happening, that I use the wrong characters at my real life workplace due to FOnline (the more I chat in FOnline, the more I mess up the characters I write with a non US normal layout)

Also, there are unique characters in the German, Polish, Czech, Chinese, Japanese, Hungarian and other languages I forgot to mention, which I would like to see in FOnline just like I can see now Russian characters.

If FOnline uses special graphical character tables, I selflessly volunteer to extend the tables to a (limited) UNICODE version or to several ISO format versions.

Best regards,
 klei
Logged
Re: [Interface/I18n] Support iso charsets / unicode and use OS keyboard Layout
« Reply #1 on: February 09, 2010, 03:05:13 pm »

Please please PLEASE implement this ASAP! It shouldn't be hard to do, and it would really help us non-US, non-Russian people.

Thanks in advance.
Logged
Re: [Interface/I18n] Support iso charsets / unicode and use OS keyboard Layout
« Reply #2 on: February 09, 2010, 08:08:32 pm »

Bad idea , the language barrier is high enough already. Delete all chars except Latin symbols
Logged
Re: [Interface/I18n] Support iso charsets / unicode and use OS keyboard Layout
« Reply #3 on: February 11, 2010, 04:21:00 pm »

language barrier, lol create an interpreter cchar, like some people on the server are multi lingual, 5 caps per word,

lol

but hey listen about the char that are not on the keybord, man i ve seen czech , polish, doin ok with their keybord layouts, they make sens even to me who studied czech 4 3 months .

good luck with typing at work man
Logged
Re: [Interface/I18n] Support iso charsets / unicode and use OS keyboard Layout
« Reply #4 on: February 12, 2010, 11:51:31 am »

Bad idea , the language barrier is high enough already. Delete all chars except Latin symbols

First, I speak English in-game. Plus, all Latin keyboards have the Latin chars in the exact same place, but the symbols are all off. For example if I try to ask "Is anyone selling armors?" it will display "Is anyone selling armors_". And so on. It's very annoying.
Logged
Re: [Interface/I18n] Support iso charsets / unicode and use OS keyboard Layout
« Reply #5 on: February 12, 2010, 04:47:36 pm »

Then type ???? next time, its left from the point key
Logged
Re: [Interface/I18n] Support iso charsets / unicode and use OS keyboard Layout
« Reply #6 on: February 12, 2010, 05:26:39 pm »

Yamcha, metzger, you seem not to understand that some languages use different keyboard layouts. Like you need to press "Y" to type "Z" for example. I can very well understand that it can be troublesome in work, so I support this. Polish and Czech aren't relevant example here, because they use standard US layouts.
Logged
Re: [Interface/I18n] Support iso charsets / unicode and use OS keyboard Layout
« Reply #7 on: February 12, 2010, 09:01:48 pm »

I fully understand, but its not that big problem.

I doubt  this will ever be implemented and if someone really has problems finding the right key because he dont know the UK or US layout he can still google for it or take a look into the control panel. Win7 has nice images of all the different kinds too
Logged
Re: [Interface/I18n] Support iso charsets / unicode and use OS keyboard Layout
« Reply #8 on: February 13, 2010, 10:05:26 am »

Well, using fixed Keyboard Layout is bad design. Take a look at M.A.X.R.. It succeeds because it supports it's international community well.

Such design related decisions - bad decisions - can render a SW product not to success in the market regardless of how powerful would the SW be (this not applies to FOnline as it is not a product. So don't even try to flame about this comment here).

The operating system is there to hide the HW dependencies... I don't care if my language and it's own special characters are not regarded in any way, it's just a nice to have feature which could come with unicode support/additional ASCII tables...

But it is rather easy to implement a function with a lookup table that translates the pressed Keys reported by the OS to the fixed US ASCII table, now used in-game. This way I can press the Z character on my keyboard and I will see Z in-game, instead of Y. <--This is truly annoying as hell.

Lets take Blizzard's Diablo 1 from the year 1996 as example: that game is developed for Windows OS. The game uses fixed graphical character sets only supporting the first 128 characters of the US ASCII table. There are 3 lookup tables for each graphical character sets to handle the different Keyboard layouts,the special keys, the different widths of the individual characters, and to  provide a common interface in-game regardless of your Keyboard HW.

Table 1: translate ASCII characters reported by the OS to standard US ASCII. Example: "Á" -> "A" or "ä" -> "a".
Code: [Select]
INDEX(D): 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240
VALUE(H): 4F  4F  4F  4F  58  30  55  55  55  55  59  62  42  61  61  61  61  61  61  61  63  65  65  65  65  69  69  69  69  6F
ASCII   : Ó   Ô   Õ   Ö   ×   Ø   Ù   Ú   Û   Ü   Ý   Þ   ß   à   á   â   ã   ä   å   æ   ç   è   é   ê   ë   ì   í   î   ï   ð 
DIABLO  : O   O   O   O   X   0   U   U   U   U   Y   b   B   a   a   a   a   a   a   a   c   e   e   e   e   i   i   i   i   o 


Table 2: FRAME to ASCII index Translation Table: map translated characters to the graphical character sets
Code: [Select]
INDEX(D): 061 062 063 064 065 066 067 068 069 070 071 072 073 074 075 076 077 078 079 080 081 082 083 084 085 086 087 088 089 090
ASCII   : =   >   ?   @   A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z 
FRAME(H): 2E  00  36  00  01  02  03  04  05  06  07  08  09  0A  0B  0C  0D  0E  0F  10  11  12  13  14  15  16  17  18  19  1A
smaltext: =   NO  ?   NO  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z 

This should not be such hard task to do and saying that this feature is not needed is improvidence.

Best regards,
 klei
Logged
Pages: [1]
 

Page created in 0.103 seconds with 21 queries.