Page 1 of 1

greek character support

PostPosted: Fri Oct 10, 2008 4:29 am
by rishuk
hi,

is it possible to create campaig name , list name in greek, also i want to show data on agent page in greek and i want to upload geek lead.

i was trying to do so but i say please check characters.

PostPosted: Fri Oct 10, 2008 8:37 pm
by mflorell
Using 2.0.4.1rc4 or higher you should be able to do this.

You do need to use UTF8 for your characterset as well as the database engine storage type.

vicidial popular in Greece

PostPosted: Sat Oct 11, 2008 1:49 am
by ticoit
Recently I have been contacted by at least two different prospect customers interested in running Greek translated instances of vicidial. It is becoming quite popular on that part of the world (or perhaps it already was and I did not now about that).

PostPosted: Sat Oct 11, 2008 3:21 am
by mflorell
Greek was actually the second language(after Spanish) that VICIDIAL was translated into, and it was translated by a native Greek-speaker, which is a good thing, because it makes no sense to me :)

Greek character support

PostPosted: Sat Oct 11, 2008 5:11 pm
by rishuk
you wrote
" You do need to use UTF8 for your characterset as well as the database engine storage type.:

Please let me know how to do this.



mflorell wrote:Using 2.0.4.1rc4 or higher you should be able to do this.

You do need to use UTF8 for your characterset as well as the database engine storage type.

PostPosted: Sun Oct 12, 2008 2:12 pm
by mflorell
You would create your database like this:

CREATE DATABASE `asterisk` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

Vicidial Greek character

PostPosted: Tue Oct 14, 2008 5:54 am
by rishuk
mflorell wrote:You would create your database like this:

CREATE DATABASE `asterisk` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;


Hi Matt,

I tried above but no luck.
i got below error.i am able to create a campaign in English characters

I tried to add campag from /vicidia_el/admin.php. but prob.

CAMPAIGN NOT ADDED - Please go back and look at the data you entered
campaign ID must be between 2 and 8 characters in length
campaign name must be between 6 and 40 characters in length
Warning: eregi() [function.eregi]: REG_EMPTY in /var/www/html/vicidial/admin.php on line 8812

PostPosted: Tue Oct 14, 2008 6:07 am
by mflorell
Have you tried changing "use non-latin" in the Admin -> System Settings screen of admin.php?

Vicidial Grek characer

PostPosted: Tue Oct 14, 2008 7:29 am
by rishuk
mflorell wrote:Have you tried changing "use non-latin" in the Admin -> System Settings screen of admin.php?


By default is was 0, i make it 1 but still no luck.

PostPosted: Tue Oct 14, 2008 11:53 am
by mflorell
Just tried it and it looks like it doesn't like it for some reason.

Can you post a bug to the tracker for this?

Vicidial Greek character

PostPosted: Tue Oct 14, 2008 3:36 pm
by rishuk
mflorell wrote:Just tried it and it looks like it doesn't like it for some reason.

Can you post a bug to the tracker for this?


Hi Matt,

I found a solution on this, i changed charset in my.cnf

but problem is half solved.

i can create campaign name with greek character through Engish vicidial admin page.
nad when i try to create a camapign name with greek character from greek admin it says
( it means CAMPAIGN NOT ADDED - Please go back and look at the data you entered )


Η ΛΙΣΤΑ ΔΕΝ ΠΡΟΣΤΕΘΗΚΕ - Παρακαλώ ελέγξτε τα δεδομένα που καταχωρήσατε
Το ID λίστας πρέπει να είναι μεταξύ 2 και 8 χαρακτήρες
Το όνομα λίστας πρέπει να είναι 2 χαρακτήρες
ID Λίστας must be greater than 100

PostPosted: Tue Oct 14, 2008 6:43 pm
by mflorell
I believe this has to do with the difference in string lengths between latin and UTF8 charsets. It doesn't help that PHP was written with only latin characters in mind.

I believe that changing all of the data validation is necessary and that will take several hours to complete which I unfortunately do not have any project time for.

If you add an issue to the tracker it will get done eventually.