Asfianda / agk

Automatically exported from code.google.com/p/agk
0 stars 0 forks source link

danish letters #462

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Danish letters
2. danish keyboard on android
3.

What is the expected output? What do you see instead?

When i use editboxes on android i get at virtual keyboard up, the keyboard is 
danish layout but when i click the danish letters "æ" "ø" "å" they wont show 
op on the screen and they are  not in the string!

And when i show string with a danish letter in android it dosent show. 

What version of the product are you using? On what operating system?
agk tier 1 version stable 107
windows 8 and windows xp
android 2.3.3 and 4.1.2

Please provide any additional information below.

Original issue reported on code.google.com by antongam...@gmail.com on 10 Jan 2013 at 10:35

GoogleCodeExporter commented 9 years ago
I tested on my Nexus 7 and confirm that it is an issue.

I suspect it is because the Danish characters on the keyboard, while they 
appear in the same position on the displayed keyboard as an English character, 
are not using the same ascii code.

The 'æ' character will return (probably) 198 instead of 58 (for ':'). That 
falls into the extended set.

There is a command to set the font image for Edit Boxes, but not for setting 
the extended font image.

And it might be that the Edit Boxes don't know how to work with the extended 
set.

Cheers,
Ancient Lady
TGC AGK Community Tester

Original comment by lady...@triassicassociates.com on 10 Jan 2013 at 4:01

GoogleCodeExporter commented 9 years ago
so will it be fixed or do I need to make a workaround?

Original comment by antongam...@gmail.com on 10 Jan 2013 at 4:09

GoogleCodeExporter commented 9 years ago
It is now in the hands of the AGK developers.

They first need to acknowledge it here and then decide how to deal with it.

It looks like they last went through the list in October 2012.

Since I am just a volunteer, and not an actual employee at TGC, I don't know 
when they will review this list next.

So, I don't know when or if they will have a fix for this.  And I cannot think 
of a workaround for it at the moment.

Good Luck,
Ancient Lady

Original comment by lady...@triassicassociates.com on 10 Jan 2013 at 4:32

GoogleCodeExporter commented 9 years ago
Also if i just are using "æ" in my code to display it work sometimes on 
windows but never on android.. i cant show danish letters wish is a problem for 
me because i am making a danish app, it is the no thing that does that i am not 
publishes the app on google play store. ;( 

Original comment by antongam...@gmail.com on 12 Jan 2013 at 2:14

GoogleCodeExporter commented 9 years ago
Have you tried using the SetTextDefaultExtendedFontImage command?

If you can create/find a font image file for the Danish characters using the 
ASCII values 128 to 255, then this might work for the basic displays.

It might even fix the edit box as well, but I am not sure.

Cheers,
Ancient Lady

Original comment by lady...@triassicassociates.com on 12 Jan 2013 at 6:18

GoogleCodeExporter commented 9 years ago
I cant find a free font and a doesent have to do this, it i a matter for the 
agk´s makers that der extended acsii codes doenst work on android, all the 
chrataters er a mess when you try to use them...

Original comment by antongam...@gmail.com on 13 Jan 2013 at 10:09

GoogleCodeExporter commented 9 years ago
Android is probably sending UTF-8 characters, which is beyond the capabilities 
of our bitmap fonts. We will need to find a way to tap into the device fonts 
for full international support, not an easy fix.

Original comment by P.S.John...@gmail.com on 31 Jan 2013 at 5:28

GoogleCodeExporter commented 9 years ago
i look in the web and found this useful.
String content = "..."
String s= new String (content.getBytes("UTF-8"),"ANSI");
.getBytes("ISO-8859-1")
Windows-1252

Original comment by waitmess...@gmail.com on 12 Feb 2013 at 5:49

GoogleCodeExporter commented 9 years ago
Issue 479 has been merged into this issue.

Original comment by P.S.John...@gmail.com on 21 Mar 2013 at 3:16