[wp-trac] Re: [WordPress Trac] #6942: typing two spaces in visual editor creates  characters in displayed post

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 4 19:50:47 GMT 2008


#6942: typing two spaces in visual editor creates  characters in displayed post
-------------------------------+--------------------------------------------
 Reporter:  meonkeys           |        Owner:  anonymous
     Type:  defect             |       Status:  reopened 
 Priority:  normal             |    Milestone:           
Component:  TinyMCE            |      Version:  2.6      
 Severity:  normal             |   Resolution:           
 Keywords:  reporter-feedback  |  
-------------------------------+--------------------------------------------
Changes (by augnix):

 * cc: augie at schwer.us (added)
  * status:  closed => reopened
  * version:  2.5.1 => 2.6
  * resolution:  invalid =>

Comment:

 I have the same problem with 2.6.

 It's easy to reproduce too:

 * Create new post.
 * Use the "visual" editor.
 * End your first sentence with a period (.) followed by two spaces.
 * Begin and end another sentence.

 If your character encoding on your browser is set to Unicode (UTF-8) you
 will see the two spaces after the period, but if you change it to Western
 (ISO-8859-1) you will see the funny A character (Â).

 The funny A character makes it into the 'post_content' variable and into
 the DB; I have a custom plug-in I use to notify customers of new posts and
 the funny A gets sent out in those messages too.

 Note: if you re-save your post, the funny A character goes away in your
 published post.

 My Browser info.:
 Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080703
 Mandriva/2.0.0.16-1.1mdv2008.0 (2008.0) Firefox/2.0.0.16

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6942#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list