Page 1 of 1

Russian encoding

PostPosted: Thu Jul 23, 2020 1:25 am
by mister511
Good afternoon colleagues
I use vicidial VERSION: 2.14-755a
BUILD: 200601-2129
© 2020 ViciDial Group
Had a problem with the mail
When I receive a letter in Russian, I get this
ðÏÍÏÇÉÔÅ ÍÎÅ ÒÅÛÉÔØ ÜÔÕ ÐÒÏÂÌÅÍÕ

Re: Russian encoding

PostPosted: Thu Jul 23, 2020 1:50 am
by carpenox
thats because your system doesnt recognize the russian alphabet which different than ours would be my guess

Re: Russian encoding

PostPosted: Thu Jul 23, 2020 2:04 am
by mister511
carpenox wrote:thats because your system doesnt recognize the russian alphabet which different than ours would be my guess

How to add recognition of the Russian alphabet?

Re: Russian encoding

PostPosted: Thu Jul 23, 2020 2:07 am
by carpenox
honestly im not sure, i would just google it, someone may be able to answer here but im not sure who.

Re: Russian encoding

PostPosted: Thu Jul 23, 2020 8:22 am
by mister511
Anyone have any ideas?

Re: Russian encoding

PostPosted: Thu Jul 23, 2020 7:31 pm
by mflorell
Your post does not have enough details.

What exactly does "When I receive a letter in Russian" mean?

Re: Russian encoding

PostPosted: Fri Jul 24, 2020 12:43 am
by mister511
mflorell wrote:Your post does not have enough details.

What exactly does "When I receive a letter in Russian" mean?

Image
https://ibb.co/6mq7nHh

Re: Russian encoding

PostPosted: Fri Jul 24, 2020 1:42 am
by mflorell
What is your database encoding characterset set to?

Re: Russian encoding

PostPosted: Fri Jul 24, 2020 1:56 am
by mister511
mflorell wrote:What is your database encoding characterset set to?

https://ibb.co/7CbrSfn

Image

Re: Russian encoding

PostPosted: Fri Jul 24, 2020 9:15 pm
by mflorell
What is your webserver(Apache) localization and language set to?

Re: Russian encoding

PostPosted: Mon Jul 27, 2020 12:36 am
by mister511
mflorell wrote:What is your webserver(Apache) localization and language set to?

Not in this case
The problem was in the AST_inbound_email_parser.pl file
in line:
It was
Code: Select all
$ dbhA = DBI-> connect ("DBI: mysql: $ VARDB_database: $ VARDB_server: $ VARDB_port", "$ VARDB_user", "$ VARDB_pass",

Has become
Code: Select all
$ dbhA = DBI-> connect ("DBI: mysql: $ VARDB_database: $ VARDB_server: $ VARDB_port", "$ VARDB_user", "$ VARDB_pass", {mysql_enable_utf8 => 1})

and
It was
Code: Select all
$ content_type = ~ / charset \ = \ "? (KOI8 \ - [R] | ISO \ -8859 \ - [0-9] + | windows \ -12 [0-9] + | utf \ -8 | us \ -ascii) \ "? / i;

Has become
Code: Select all
$ content_type = ~ / charset \ = \ "? (KOI8 \ - [UR] | ISO \ -8859 \ - [0-9] + | windows \ -12 [0-9] + | utf \ -8 | us \ -ascii) \ "? / i;

Thanks to all

Re: Russian encoding

PostPosted: Mon Jul 27, 2020 2:06 am
by carpenox
good postback