Russian encoding

All installation and configuration problems and questions

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

Russian encoding

Postby mister511 » Thu Jul 23, 2020 1:25 am

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
ðÏÍÏÇÉÔÅ ÍÎÅ ÒÅÛÉÔØ ÜÔÕ ÐÒÏÂÌÅÍÕ
mister511
 
Posts: 26
Joined: Fri Jun 12, 2020 9:28 am

Re: Russian encoding

Postby carpenox » Thu Jul 23, 2020 1:50 am

thats because your system doesnt recognize the russian alphabet which different than ours would be my guess
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Russian encoding

Postby mister511 » Thu Jul 23, 2020 2:04 am

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?
mister511
 
Posts: 26
Joined: Fri Jun 12, 2020 9:28 am

Re: Russian encoding

Postby carpenox » Thu Jul 23, 2020 2:07 am

honestly im not sure, i would just google it, someone may be able to answer here but im not sure who.
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Russian encoding

Postby mister511 » Thu Jul 23, 2020 8:22 am

Anyone have any ideas?
mister511
 
Posts: 26
Joined: Fri Jun 12, 2020 9:28 am

Re: Russian encoding

Postby mflorell » Thu Jul 23, 2020 7:31 pm

Your post does not have enough details.

What exactly does "When I receive a letter in Russian" mean?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Russian encoding

Postby mister511 » Fri Jul 24, 2020 12:43 am

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
mister511
 
Posts: 26
Joined: Fri Jun 12, 2020 9:28 am

Re: Russian encoding

Postby mflorell » Fri Jul 24, 2020 1:42 am

What is your database encoding characterset set to?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Russian encoding

Postby mister511 » Fri Jul 24, 2020 1:56 am

mflorell wrote:What is your database encoding characterset set to?

https://ibb.co/7CbrSfn

Image
mister511
 
Posts: 26
Joined: Fri Jun 12, 2020 9:28 am

Re: Russian encoding

Postby mflorell » Fri Jul 24, 2020 9:15 pm

What is your webserver(Apache) localization and language set to?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Russian encoding

Postby mister511 » Mon Jul 27, 2020 12:36 am

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
mister511
 
Posts: 26
Joined: Fri Jun 12, 2020 9:28 am

Re: Russian encoding

Postby carpenox » Mon Jul 27, 2020 2:06 am

good postback
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to Support

Who is online

Users browsing this forum: No registered users and 65 guests