35

In html made by fckeditor i find the following character:



What is this character?

blub
  • 2,146
  • 4
  • 20
  • 19

2 Answers2

41

Looks like the ASCII code for Carriage Return, encoded as an XML character reference.

Eric Minkes
  • 1,421
  • 2
  • 10
  • 12
  • 3
    Numerical character references refer to character of Unicode’s character set and not ASCII’s. (Although the first 128 character of Unicode’s and ASCII’s character set is identical.) – Gumbo Sep 22 '09 at 10:11
  • 1
    I've filtered it out...But the thing is that i forgot if i pass it through to PHP it was rendered as a carriage return. So to make a good if statement i had to use htmlentities(trim(' ')) to campare it. – blub Sep 22 '09 at 10:17
17

When you code in windows, and use "DOS/Windows" line endings, the your lines will end like this "\r\n". In some xhtml editors, that "\r" is illegal so te editor converts it to "&#13".

Federico Hoerth
  • 265
  • 3
  • 8