character encoding

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
espo
Veteran Member
Posts: 98
Joined: 2013-03-01 12:55

character encoding

Post by espo » 2013-09-26 16:12

Hello to all.
I have a problem with the character encoding. When I try to insert a note (text), if I enter characters with accents (for example à) the note remains empty after saving.
Which encoding should I enter to make it work? I currently use in Localization Settings "Western" and in the Default Project "Unicode and UTF-8"

Can you help me?
Thank you very much.

AhmedBR
AppGini Super Hero
AppGini Super Hero
Posts: 327
Joined: 2013-09-19 10:23

Re: character encoding

Post by AhmedBR » 2013-09-26 18:44

I use phpMyAdmin and change the Collation of the table to: latin1_swedish_ci

Works fine here with all of these letters ô é ã etc.
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper

espo
Veteran Member
Posts: 98
Joined: 2013-03-01 12:55

Re: character encoding

Post by espo » 2013-09-27 08:12

If I try to insert in phpmyadmin latin1_swedish_ci does not work.
In the program AppGini which encoding should I use? If I leave Western special characters (à, ò, etc..) Does not accept them and I leave the text field empty.
If I insert in AppGini Unicode UTF-8 special characters (à, ò, €, etc.) Will be accepted but does not see the date format Currenty Euro (€ 21.123,56) in the table.

How can I fix?
Can anyone help me?

espo
Veteran Member
Posts: 98
Joined: 2013-03-01 12:55

Re: character encoding

Post by espo » 2013-09-30 07:17

Hello,

no one has a solution to this problem?

espo
Veteran Member
Posts: 98
Joined: 2013-03-01 12:55

Re: character encoding

Post by espo » 2013-09-30 09:27

I wanted to specify that the numeric field is formatted in DECIMAL, Lenght 20, Precision 2 and Euro Currency format.

Posting Date Format from AppGini in the table, the field remains empty, while I see the details in the table field (eg 400.00).
If I was using the character encoding WESTERN but I had no problems using UNICODE UTF-8 I have this problem.

How can you solve?

pgkounelas
Posts: 10
Joined: 2013-01-30 14:55
Location: Larissa, Hellas

Re: character encoding

Post by pgkounelas » 2013-09-30 16:23

1. in database chose utf_general_ci
2. in AppGini in field "character encoding" chose "unicode utf" and generate the aplication

espo
Veteran Member
Posts: 98
Joined: 2013-03-01 12:55

Re: character encoding

Post by espo » 2013-10-01 13:10

I entered what I've written but what I see is this.

The question mark in front of numbers should be the symbol of the euro.

What could be wrong?

Image

pgkounelas
Posts: 10
Joined: 2013-01-30 14:55
Location: Larissa, Hellas

Re: character encoding

Post by pgkounelas » 2013-10-01 14:54

Open the file table_view.php with Notepad++ and change the ANSI encoding to UTF WITHOUT BOM

espo
Veteran Member
Posts: 98
Joined: 2013-03-01 12:55

Re: character encoding

Post by espo » 2013-10-02 08:33

Hello,

I'm sorry but the file that you have indicated there is no ANSI string.

Unfortunately, the problem remains.
You can solve it, you know?

pgkounelas
Posts: 10
Joined: 2013-01-30 14:55
Location: Larissa, Hellas

Re: character encoding

Post by pgkounelas » 2013-10-02 18:59

To help you should send me all files in .zip file with .axp file
Do this with a link in your message

User avatar
a.gneady
Site Admin
Posts: 1287
Joined: 2012-09-27 14:46
Contact:

Re: character encoding

Post by a.gneady » 2013-10-12 14:28

Try this: In the folder where AppGini is installed, typically C:\Program Files(x86), open the subfolder "add-ons" then open the file "dataFormats.cfg" in a text editor ... change the second line to read:

Code: Select all

Euro Currency (example: €21,345.67); CONCAT('€', FORMAT(%%FIELD%%, 2))
That is, change the second euro symbol (but not the first one) to '€'

If this works, kindly let me know to fix it in the next release.
:idea: AppGini plugins to add more power to your apps:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

espo
Veteran Member
Posts: 98
Joined: 2013-03-01 12:55

Re: character encoding

Post by espo » 2013-10-14 09:23

Hello Ahmad,

so it works.

I insert the image.

Image

Thank you very much.

espo
Veteran Member
Posts: 98
Joined: 2013-03-01 12:55

Re: character encoding

Post by espo » 2013-10-14 09:36

Hello Ahmad,

But there is a problem. If I insert the character READ ONLY € so you can see the detail page.

Image

User avatar
a.gneady
Site Admin
Posts: 1287
Joined: 2012-09-27 14:46
Contact:

Re: character encoding

Post by a.gneady » 2013-10-14 23:23

OK, I'll try to fix this issue, including the detail view read-only problem, in the next release -- due this month.
:idea: AppGini plugins to add more power to your apps:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

Post Reply