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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.