Problems with Cyrilic encoding
Moderator: mkoch227
Problems with Cyrilic encoding
Script URL: http://62.204.144.127/help_deck/heck/
Version of script: 0.93
Version of PHP: 4.3.8
Hosting company: testing server
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try:
- WINDOWS-1251
- CP1251
- ISO-8859-5
- cyrilic
Write your message below:
Hello there,
I have translated the language file into bulgarian language (a cyrilic one). Also I have ranslated the email files.
Everything seems to work fine exept the notification emails. They are not displayed correctly. I have tried to set a cyrilic encoding but with no luck.
I tried with:
$hesklang['ENCODING']=
- WINDOWS-1251
- CP1251
- ISO-8859-5
Unfortunately non of these encodings work properly.
here is is a sample of the email received:
+++++++++
????????? Bogdan,
?????? ???? ???????? ?? ??? ???????? "test 1"
???? ?? ?????? ????????? ???:
http://62.204.144.127/help_deck/heck/ti ... resh=50039
*?? ??????????? ?? ???? E-MAIL*
???? ? ??????????? e-mail ???????? ?? ????????? ?? ?????????. ?? ??????????? ?? ???? e-mail ?????? ??? ???? ?? ??????? ????? ???????!
? ????????,
Help Deck
http://62.204.144.127/help_deck/heck
+++++++++
So I was wondering ou you have any idea what could cause that.
Next days I will send you the language pack, so you can added to the site.
Thank you in advance,
- Trayko Stoilov
----------------------------
www.stigma-design.com
Version of script: 0.93
Version of PHP: 4.3.8
Hosting company: testing server
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try:
- WINDOWS-1251
- CP1251
- ISO-8859-5
- cyrilic
Write your message below:
Hello there,
I have translated the language file into bulgarian language (a cyrilic one). Also I have ranslated the email files.
Everything seems to work fine exept the notification emails. They are not displayed correctly. I have tried to set a cyrilic encoding but with no luck.
I tried with:
$hesklang['ENCODING']=
- WINDOWS-1251
- CP1251
- ISO-8859-5
Unfortunately non of these encodings work properly.
here is is a sample of the email received:
+++++++++
????????? Bogdan,
?????? ???? ???????? ?? ??? ???????? "test 1"
???? ?? ?????? ????????? ???:
http://62.204.144.127/help_deck/heck/ti ... resh=50039
*?? ??????????? ?? ???? E-MAIL*
???? ? ??????????? e-mail ???????? ?? ????????? ?? ?????????. ?? ??????????? ?? ???? e-mail ?????? ??? ???? ?? ??????? ????? ???????!
? ????????,
Help Deck
http://62.204.144.127/help_deck/heck
+++++++++
So I was wondering ou you have any idea what could cause that.
Next days I will send you the language pack, so you can added to the site.
Thank you in advance,
- Trayko Stoilov
----------------------------
www.stigma-design.com
Hmm, not sure, will see if I can figure anything out...
Regards
Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Hello Trayko,
I've made a few tests and perhaps this could be the solution:
http://www.phpjunkyard.com/extras/hesk_encoding.zip
The above file has only edited the e-mail that CUSTOMER receives after submitting a ticket. If it works I will change others too.
Test it like this:
1. upload that file to your server
2. set encoding in language file to 1st encoding type
3. submit a ticket and check the e-mail
if that doesn't work do this for all encoding types you tried:
4. change encoding
5. REFRESH the "submit_ticket.php" page and submit a new ticket
6. check e-mail which is sent to customer
Let me know if any of the encoding types works now for the e-mail to customer. And don't forget to REFRESH the submit_ticket.php page each time you change encoding before submitting a new ticket!
Regards
I've made a few tests and perhaps this could be the solution:
http://www.phpjunkyard.com/extras/hesk_encoding.zip
The above file has only edited the e-mail that CUSTOMER receives after submitting a ticket. If it works I will change others too.
Test it like this:
1. upload that file to your server
2. set encoding in language file to 1st encoding type
3. submit a ticket and check the e-mail
if that doesn't work do this for all encoding types you tried:
4. change encoding
5. REFRESH the "submit_ticket.php" page and submit a new ticket
6. check e-mail which is sent to customer
Let me know if any of the encoding types works now for the e-mail to customer. And don't forget to REFRESH the submit_ticket.php page each time you change encoding before submitting a new ticket!
Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Hi again,
I tried the new file but the results were the same.
I have created the email files from scrach (not translated).
Also, I tried to harcode the charset in "submit_ticket.php" file, with no luck.
Also I tried to change the content-type in the file you sent me to be text/html...
the tests were performed with all the encodings I know that supports in a way or another cyrilic. I refreshed the submit_ticket.php every time. Eve used a different PC.
Any ideas are appreciated.
Thanks,
Trayko
I tried the new file but the results were the same.
I have created the email files from scrach (not translated).
Also, I tried to harcode the charset in "submit_ticket.php" file, with no luck.
Also I tried to change the content-type in the file you sent me to be text/html...

the tests were performed with all the encodings I know that supports in a way or another cyrilic. I refreshed the submit_ticket.php every time. Eve used a different PC.
Any ideas are appreciated.
Thanks,
Trayko
Hi,
To behonest I have no idea what could be wrong. Have you perhaps got some script that sends e-mail and supports cyrilic so I can have a look?
Also, you have probably been editing e-mails in notepad.exe, right? Open one e-mail, then go to "Edit > Font settings" and see what charset you have set there (probably in a field called "alphabet").
Regards
To behonest I have no idea what could be wrong. Have you perhaps got some script that sends e-mail and supports cyrilic so I can have a look?
Also, you have probably been editing e-mails in notepad.exe, right? Open one e-mail, then go to "Edit > Font settings" and see what charset you have set there (probably in a field called "alphabet").
Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
By the way: I just posted two test tickets in your script, is this the submit_ticket.php I sent you? Doesn't look like it because some data is missing in header?
http://62.204.144.127/help_deck/heck/submit_ticket.php
Klemen
http://62.204.144.127/help_deck/heck/submit_ticket.php
Klemen
Hi,
Please send the translation to info@phpjunkyardNOSPAM.com (remove "NOSPAM"). As promised you will also get a license.
I will be testing your language file to see if I can figure out how to make the e-mails work proerply.
Regards
Please send the translation to info@phpjunkyardNOSPAM.com (remove "NOSPAM"). As promised you will also get a license.
I will be testing your language file to see if I can figure out how to make the e-mails work proerply.
Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools