开发者

Line Breaks in OpenPGP (Using PEAR with drupal)

开发者 https://www.devze.com 2023-01-26 14:34 出处:网络
I am encrypting form submissions in drupal with Pear. The encryption//decrypti开发者_C百科on is working fine, but line breaks are not working.

I am encrypting form submissions in drupal with Pear. The encryption//decrypti开发者_C百科on is working fine, but line breaks are not working.

What I mean by that is, whether I use Enigma in thunderbird, or I use gpg4win, the message gets decrypted, but it looks like this:

Online Form = 1\r\nFirst Name: John\r\nLast Name: Smith\r\n

I have tried \n\n \r \r\n none of these seem to work.

So the question is how do I get line breaks to output properly after being decrypted.

(I'm using the drupal mail function sending plain text email with UTF-8 encoding, although I don't think this matters since the message is being decrypted)

0

精彩评论

暂无评论...
验证码 换一张
取 消