我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何使用像EOF,NUL,DLE这样的php删除解密的.eml文件中的控制字符

I used the openssl_pkcs7_decrypt function to decrypt the encrypted .eml file. Now there are many control characters in the decrypted file like EOT, DLE, NUL ....

What is wrong or how can I remove these control characters? Without removing the control characters I can't extract the content of the file via php.

I tried preg_replace('~[^\P{Cc} ]+~u', '', $stream); But nothing was removed.

近期文章

  • 为什么Alexa awis api停止为我工作? 301永久移动错误
  • 如何修复Magento 2中弃用的Zend_Rest客户端?
  • 在Laravel 4.2中替代configureMonologUsing
  • 如何使用用户可以预订的引脚分割图像
  • 在alexacrm php工具包中显示错误
  • 我不能在Godaddy服务器上使用CURL
  • 如何在我单击搜索按钮时才显示表格输出
  • FPDF:如何使用冒号符号₡
  • 更改Symfony MessageSelector以使用'en'PultiralizationRule进行语言环境'sl'
  • Laravel - 序列化失败:1213尝试锁定时发现死锁;
  • 无法在Json中实例化类型的值
  • PHP 7:意外死亡,没有错误消息
  • 如何删除自定义浏览器进程 - Laravel Dusk
  • 如何使用php以正确的方式为shell_exec()提供参数
  • 如何从Woocommerce中的数组中检索链接产品URL?
  • PHP mb_detect_encoding无法从Excel检测CSV的编码
  • php文件大小有问题吗?
  • 无法使用PDO连接数据库
  • 使用爆炸结合单词
  • 如何将变量传递给重定向?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华