Page 1 of 1
Scandic characters to vicidial admin
Posted:
Thu Jan 10, 2013 5:23 am
by rsaaris
What would it take to get the scandic characters to work with vicidial? When we add new leads the names are cut where there are scands. For example If text string is "Matti Meikäläinen" in original form it is "Matti Meik" in vicidial after the leads are loaded. Same problem occurs when recieving emails. Is this something that is easy to fix?
Re: Scandic characters to vicidial admin
Posted:
Thu Jan 10, 2013 7:01 am
by DomeDan
I've had this problem too.
the first way to fix it is to set "Use Non-Latin" to 1, but DONT do that, it will introduce many security vulnerabilities!
instead you can use sed to change the ereg_replace like this:
(remeber to always make backups)
cd /srv/www/htdocs/vicidial
cp admin.php admin.php.bak
sed -i 's/a-z/a-ö/g; s/A-Z/A-Ö/g' admin.php
I've been using admin.php with that change a long time now,
if you need to make the change on all files you can do that like this:
(Warning: I have not made this change on my live system because I haven't needed it yet)
cd /srv/www/htdocs/
find ./ -name '*.php' | xargs sed -i 's/a-z/a-ö/g; s/A-Z/A-Ö/g'
Re: Scandic characters to vicidial admin
Posted:
Sun Feb 10, 2013 12:36 pm
by Framercy
We save our lead files as utf8 before importing it here in Germany - this way the special chars are imported in the right manner.
I think that you have to deal with the same problem at your side. Problem occurs in Europe because Microsoft sticks on latin character sets per default.
Safe your text file as utf8 right before importing and watch out if things go better then for you too.
Best regards
Fram