Jump to content

AJAX + JS + encryption


crashmaster

Recommended Posts

HI there,

I ahve a script...INDEX.PHP (for ex.) ... It have an JS fnction to do an AJAX request. Than I have executive script: sendMail.php

This script simply sends mail with values from INDEX>php .. But the problem is that I live in Czech republic and there are some special letters... (For ex. : č ř ž ý) .. When the mail send, this letters are transformed into UTF-8 and in the end I recive mail with: "Já bych si chtÄ›l pĹ™ivydÄ›lat :-P o co de..? " instead of right form : "Já bych si chtěl přivydělat :-P o co de..? "

 

I need a script which will transform this special chars into this-> š or Ŏ

 

(btw: I have a table where every Czech Special Letter has its own "code" (for.ex: š -> š) )

 

Can somebody help me ?

Link to comment
https://forums.phpfreaks.com/topic/86033-ajax-js-encryption/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.