greek character support

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

greek character support

Postby rishuk » Fri Oct 10, 2008 4:29 am

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.
rishuk
 
Posts: 64
Joined: Thu Dec 13, 2007 12:34 pm

Postby mflorell » Fri Oct 10, 2008 8:37 pm

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.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

vicidial popular in Greece

Postby ticoit » Sat Oct 11, 2008 1:49 am

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).
ticoit
 
Posts: 42
Joined: Thu Aug 21, 2008 10:46 am
Location: Costa Rica

Postby mflorell » Sat Oct 11, 2008 3:21 am

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 :)
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Greek character support

Postby rishuk » Sat Oct 11, 2008 5:11 pm

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.
rishuk
 
Posts: 64
Joined: Thu Dec 13, 2007 12:34 pm

Postby mflorell » Sun Oct 12, 2008 2:12 pm

You would create your database like this:

CREATE DATABASE `asterisk` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Vicidial Greek character

Postby rishuk » Tue Oct 14, 2008 5:54 am

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
rishuk
 
Posts: 64
Joined: Thu Dec 13, 2007 12:34 pm

Postby mflorell » Tue Oct 14, 2008 6:07 am

Have you tried changing "use non-latin" in the Admin -> System Settings screen of admin.php?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Vicidial Grek characer

Postby rishuk » Tue Oct 14, 2008 7:29 am

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.
rishuk
 
Posts: 64
Joined: Thu Dec 13, 2007 12:34 pm

Postby mflorell » Tue Oct 14, 2008 11:53 am

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?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Vicidial Greek character

Postby rishuk » Tue Oct 14, 2008 3:36 pm

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
rishuk
 
Posts: 64
Joined: Thu Dec 13, 2007 12:34 pm

Postby mflorell » Tue Oct 14, 2008 6:43 pm

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.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 267 guests