How do I remove ASCII number 13?

前端 未结 1 999
庸人自扰
庸人自扰 2021-01-28 04:36

I have always wondered why I can\'t replace an unknown whitespace character until just an hour ago that I decided to loop through it and using php ord function I found out that

相关标签:
1条回答
  • 2021-01-28 05:29

    13 in hexadecimal is 19 in decimal, which is the ASCII control character DC3, which isn't properly whitespace.

    You probably mean decimal 13, which is a carriage return. In hexadecimal, that's D, so you'd use \x0D instead.

    0 讨论(0)
提交回复
热议问题