Ubuntu Pastebin encoding error on plain text view

Bug #695257 reported by Stefano Palazzo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Website - OBSOLETE
Invalid
Undecided
Unassigned

Bug Description

Steps to reproduce

 - Look at http://paste.ubuntu.com/548432/
   Notice the ⚫ character, medium black circle (unicode 9899 or 0x26AB)
 - View it as plain text, now the ⚫has turned into "âš«"

Here's some related code:

    >>> for i in "⚫":
    ... print ord(i), unichr(ord(i))
    ...
    226 â
    154 š
    171 «

Revision history for this message
Ralph Corderoy (ralph-inputplus) wrote :

Seems fine to me, I can't see a fault. The plain text view looks the same as the web view. As it does with my test, http://paste.ubuntu.com/688708/ (You may not have some of the Ctrl glyphs in your font, but that's not connected.)

Changed in ubuntu-website:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.