Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Problems with some characters in AGK2

Author
Message
Dayvid86
9
Years of Service
User Offline
Joined: 20th Jun 2015
Location:
Posted: 24th Jun 2015 00:21 Edited at: 24th Jun 2015 01:08
Hello,

I am having problem with AGK2 with type accented characters.

1 - The accented character is not displayed correctly on the screenshot with Print and Printc order.

2 - The Len() function probably has a bug with the same characters
Example: Len("î") turned 2 while there in a single character !

3 - The Mid() function probably has a bug with the same characters
Example: Mid("î", 1, 1) returned 2 strange characters while there for a single character !

Where does the problem ?

---------------------------------------------------------------------------------------------------

Bonjour,

Je rencontre des problème avec AGK2 avec les caractères de type accentué.

1 - Les caractère accentués ne s'affiche pas correctement sur l'écrant avec la commande Print et Printc.

2 - La fonction Len() a probablement un bug avec ces même caractères
Exemple: Len(î) retourna 2 alors qu'il n'y à qu'un seule caractère !

3 - La fonction Mid() a probablement un bug avec ces même caractères
Exemple: Mid("î", 1, 1) retourna 2 caractères étrange alors qu'il n'y à qu'un seule caractère !

D'ou vient le problème ?

I am French and I know nothing about English.
So if you grieve not understand them very well.
Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 24th Jun 2015 09:06 Edited at: 24th Jun 2015 09:11
Glitch in the board code detected. :/ * Iam not the author of this thread * (author = Dayvid86)

(This should be changed quickly due to injection risks!)


To the thread owner:
"Maybe you need extended characters?"


[/url]
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 24th Jun 2015 11:13
I will notify the TGC Team, thanks

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Dayvid86
9
Years of Service
User Offline
Joined: 20th Jun 2015
Location:
Posted: 24th Jun 2015 16:17
Hello,

Quote: "I will notify the TGC Team, thanks"

Are you talking to me BatVink ?
There are so many problems ?

Quote: "Je vais aviser l'équipe de TGC, merci"

Est-ce à moi que vous parlez ?
Il y a bien des problèmes donc ?

I am French and I know nothing about English.
So if you grieve not understand them very well.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 24th Jun 2015 16:39 Edited at: 24th Jun 2015 16:41
Sorry no, about the glitch in the forum board.

I don't know the solution to your problem. I think Markus has got experience of this issue. Hopefully he will see this question.

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Dayvid86
9
Years of Service
User Offline
Joined: 20th Jun 2015
Location:
Posted: 24th Jun 2015 17:01
Basically I reported bugs you but you are not going to correct them ?

En gros je vous rapporte des bugs mais vous n'allez pas les corriger ?

I am French and I know nothing about English.
So if you grieve not understand them very well.
Dayvid86
9
Years of Service
User Offline
Joined: 20th Jun 2015
Location:
Posted: 24th Jun 2015 18:07
Everything is bugged with accented character type
Mid(), Len(), Chr()...

I am French and I know nothing about English.
So if you grieve not understand them very well.
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 24th Jun 2015 19:04 Edited at: 24th Jun 2015 19:22


My 2c: You could do all your text elements as graphics?

V2 T1 (Mostly)
Uzmadesign
Dayvid86
9
Years of Service
User Offline
Joined: 20th Jun 2015
Location:
Posted: 24th Jun 2015 21:00
Well, you understand me?
I believe you to understand me.
French is there here to talk with me?

I pleindre me because AGK2 not walk properly !!!
You understand me?

Try:
Print("àáâãäåçèéêëìíîïñòóôõöšùúûüýÿžÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖŠÙÚÛÜÝŸŽ")

Not display correctly -> Bug?

Esaayer:
Mid("àáâãäåçèéêëìíîïñòóôõöšùúûüýÿžÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖŠÙÚÛÜÝŸŽ, 1, 1 "

Error!

Try:
Len("àáâãäåçèéêëìíîïñòóôõöšùúûüýÿžÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖŠÙÚÛÜÝŸŽ"

Result = 116 -> Bug, actual result = 58

Try:
Asc ("to")

-61 Result = -> = 224 real résulat

BUG BUG BUG BUG !!!!!!!!!
You understand me?

--------------------------------------------------------------------------------------
Bon, vous comprendre moi ?
Moi croire que vous pas comprendre moi.
Ya t-il français ici pour parler avec moi ?

Moi me pleindre parce que AGK2 pas marcher correctement !!!
Vous comprendre moi ?

Essayez:
Print("àáâãäåçèéêëìíîïñòóôõöšùúûüýÿžÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖŠÙÚÛÜÝŸŽ")

Pas afficher correctement -> Bug ?

Esaayer:
Mid("àáâãäåçèéêëìíîïñòóôõöšùúûüýÿžÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖŠÙÚÛÜÝŸŽ, 1, 1"

Erreur !

Essayez:
Len("àáâãäåçèéêëìíîïñòóôõöšùúûüýÿžÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖŠÙÚÛÜÝŸŽ"

Résultat = 116 -> Bug, résultat réel = 58

Essayez:
Asc("à")

Résultat = -61 -> résulat réel = 224

BUG BUG BUG BUG !!!!!!!!!
Vous comprendre moi ?

I am French and I know nothing about English.
So if you grieve not understand them very well.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 24th Jun 2015 21:06
Quote: "Basically I reported bugs you but you are not going to correct them ?"


I think you have misunderstood. Only the TGC developers can correct the problems. I am a moderator, I do not work for TGC.

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Dayvid86
9
Years of Service
User Offline
Joined: 20th Jun 2015
Location:
Posted: 24th Jun 2015 22:23
Only the TGC developers can correct the problems. I am a user, I do not work for TGC

Thx.

I am French and I know nothing about English.
So if you grieve not understand them very well.
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 24th Jun 2015 23:22
The bug has been reported just by creating this thread. We'll need to wait until Paul (TGC) picks this up, although I suspect he is up to his neck in 3D goodness right now.

In the meantime, try not to use those characters. If you need to display special characters in your game, use an image.

V2 T1 (Mostly)
Uzmadesign
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 24th Jun 2015 23:37
Quote: "although I suspect he is up to his neck in 3D goodness right now."


This sentence will not translate very well into French!

Paul is the AppGameKit developer. He is busy creating 3D commands. So a fix may not be immediate.

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Dayvid86
9
Years of Service
User Offline
Joined: 20th Jun 2015
Location:
Posted: 25th Jun 2015 02:20
Thank you I understand, however, noted that this still seems important to these corrected faster bug there.

It would be good too that AppGameKit could handle all LIVE Ascii characters from 0 to 255.
This should not take 10 years to the team I think.

It really is a very big problem to be solved as quickly I think, influ problem on many things.

Not only are the extended characters are not displayed correctly but above and the worst is that it creates false result with the Mid () commands, Len (), Asc () ...

I do not know or may come its problems but it's really annoying!

Moreover, it is the same basis if AppGameKit is not even able to handle characters correctly, or are we going MDR!

Thank you note
Best regards and thank you again to you

-------------------------------------------------------------------------

Merci j'ai bien compris, noter cependant que ceci semble tout de même important de corrigé au plus vite ces bug là.

Il serais bien aussi que AppGameKit puisse gèrer tous els caractères Ascii de 0 à 255.
Ceci ne devrais pas prendre 10 ans à l'équipe je pense.

C'est vraiment un très gros problème qu'il faut résoudre au plus vite je pense, ce problème influ sur beaucoup de choses.

Non seulement les caractères étendu ne sont pas affiché correctement mais surtout et le pire est que elle engendre de faux résultat avec les commandes Mid(), Len(), Asc()...

Je ne sais pas d'ou peut provenir ses problèmes mais c'est vraiment très génant !

De plus, c'est la base même, si AppGameKit n'est même pas capable de gérer les caractères correctement, ou va t-on MDR !

Merci de prendre note
Cordialement et merci encore à vous

I am French and I know nothing about English.
So if you grieve not understand them very well.
Impetus73
13
Years of Service
User Offline
Joined: 28th Aug 2011
Location: Volda, Norway
Posted: 25th Jun 2015 10:02
I agree, it sucks that I can not use the Norwegian characters æøå ÆØÅ properly.

----------------
AGK programmer
Did Amiga / AMOS programming in the 90's.
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 25th Jun 2015 11:23 Edited at: 25th Jun 2015 11:51
Quote: "It would be good too that AppGameKit could handle all LIVE Ascii characters from 0 to 255."


Quote: "I agree, it sucks that I can not use the Norwegian characters æøå ÆØÅ properly."


Unfortunately there is no such thing as all LIVE ASCII characters from 0-255.
Anything above ASCII 127 could be (and is) used to represent anything that a particular language requires.
For example on some PCs the character code 130 would display as é, but on computers sold in Israel it is the Hebrew letter Gimel ג and that is the reason that Dayvid86 can't display French characters correctly and why Impetus73 can't display Norwegian characters.

The desire to use ASCII to display text in anything other that standard unaccented English characters is not a good idea.

Here is a great article that explains it all far better than I can.

And here is the French language version of the same article.

AGK V2 user - Tier 1 (mostly)
Dayvid86
9
Years of Service
User Offline
Joined: 20th Jun 2015
Location:
Posted: 25th Jun 2015 14:36
Well, the actual duration is not easy ...
Then you'll do what ?

I am French and I know nothing about English.
So if you grieve not understand them very well.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 25th Jun 2015 14:55
For the display of Text (with the limitations that Scraggle has explained):

http://www.appgamekit.com/documentation/Reference/Text/SetTextDefaultExtendedFontImage.htm

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Dayvid86
9
Years of Service
User Offline
Joined: 20th Jun 2015
Location:
Posted: 25th Jun 2015 15:24
Well, I tried to write to a file, result, file not found, I finished to find with a search, whatever I put in the file name, the file is not found, the file is still in a Repertoir I know not where, even if I put a path, nothing to do, file not found ...

In addition, there is always the problem of characters with the same files.
AGK2 really must be said, for it rots, a calamity frenchement is not the point at all.

Sincerely.

I am French and I know nothing about English.
So if you grieve not understand them very well.
Dayvid86
9
Years of Service
User Offline
Joined: 20th Jun 2015
Location:
Posted: 25th Jun 2015 17:36
Thx, please posted a exemple

I am French and I know nothing about English.
So if you grieve not understand them very well.
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 25th Jun 2015 18:13
All AppGameKit output files are written to a sandbox for safety. In Windows it will be your app-data folder. Usually something like: C:\Users\<username>\AppData\AGKApps\<project name>.


Quote: "AGK2 really must be said, for it rots, a calamity frenchement is not the point at all."

This make no sense, but I'm guessing you mean AGK2 is no good for French hobby coders, right?

V2 T1 (Mostly)
Uzmadesign
Dayvid86
9
Years of Service
User Offline
Joined: 20th Jun 2015
Location:
Posted: 25th Jun 2015 18:28
Yes, AGK2 sucks to write.
A monumental calamity !

Please exemple for: SetTextDefaultExtendedFontImage()


I can not do anything with AGK2 to write text, all text functions are bugged !

HELLLLLP !

I am French and I know nothing about English.
So if you grieve not understand them very well.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 25th Jun 2015 19:33 Edited at: 25th Jun 2015 19:34
It is not a monumental calamity.
Text functions are not bugged.
I have written a demonstration for you. But please remember, people will not help you if you blame AppGameKit for all of your problems.

Extended font Demo

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt

Attachments

Login to view attachments
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 25th Jun 2015 19:35 Edited at: 25th Jun 2015 19:36
And a Screenshot of the demonstration



Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt

Attachments

Login to view attachments
Dayvid86
9
Years of Service
User Offline
Joined: 20th Jun 2015
Location:
Posted: 25th Jun 2015 21:08
I just found where does the problem.
it's really baffling!

Made by the characters displays correctly !!!
Ya just have not AGK2 all Ascii characters but apart from that no problems!

It's confusing because in made my code file was not encoded properly!
It was encoded in Unicode Utf-8!

That was coming from or solve the problem and that ALL other problems at the same occation!

For me who is French, I know you but I think it not change, the AGK2 file is encoded by default in West European -> Western (WINDOWS-1252)

That's the problem came from where, our superb AGK2 So you have no problem, but it is I who is due commaitre a mistake!

Closed topic!

As against it'd be to settle the problems with the characters AppGameKit does not manage, he has some one, see: http://www.appgamekit.com/documentation/examples/text/1_custom.htm

Finally it is not a big deal except that some characters such ÿ, which in any case is almost never use!

I am very happy that it came from me. ^^

--------------------------------------------------------------------------------------

Je viens de trouver d'ou vient le problème.
c'est vraiment déroutent !

En faite les caractères s'affiche correctement !!!
Ya juste que AGK2 n'as pas tous les caractères Ascii mais a part ça aucun problème !

C'est déroutant car en faite, mes fichier de code n'étais pas encodé correctement !
Il était encodé en Unicode Utf-8 !

Voilà d'ou venais le problème et ça résous TOUS les autres problème par la même occation !

Pour moi qui est français, vous j'en sais rien mais je pense que ça change pas, le fichier AGK2 est encodé par defaut en West European -> Western (WINDOWS-1252)

Voilà d'ou venais le problème, notre superbe AGK2 n'as donc aucune problème mais c'est moi qui est dû commaitre une erreur !

Sujet clos !

Par contre il serais bien de règler le soucis avec les caractères que AppGameKit ne gère pas, il en a quelque un, voir: http://www.appgamekit.com/documentation/examples/text/1_custom.htm

Enfin c'est pas très grave ça sauf pour certain caractères comme par exemple ÿ, qui de toute façon n'est presque jamais utiliser !

Je suis très content que ça venais de moi. ^^

I am French and I know nothing about English.
So if you grieve not understand them very well.
Dayvid86
9
Years of Service
User Offline
Joined: 20th Jun 2015
Location:
Posted: 25th Jun 2015 21:16 Edited at: 25th Jun 2015 21:18
Oh, I wrote a méssage will come after this one because it is short of moderation for the team, this message comes before it.

------------------------------------------------------------------------------------

Yes, I do and I also make you to flatter my development team excuses to not heard.

Sincerely ^^

I am French and I know nothing about English.
So if you grieve not understand them very well.
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 26th Jun 2015 12:51
Nope... not a word...

V2 T1 (Mostly)
Uzmadesign

Login to post a reply

Server time is: 2024-11-25 21:35:19
Your offset time is: 2024-11-25 21:35:19