Menu

format_code kills non-ASCII symbols

Help
2005-03-19
2013-03-22
  • Alexey V. Medvedev

    You use procedure format_code for filtering
    description text before output in zoombug.php.
    But this proceeding changes non-ASCII symbols
    to HTML-symbols and translates UNICODE-formatted
    symbols like this: Пр back to their
    HTML-form. I see it is convienient for displaing
    parts of HTML code inside description field of bug,
    but think a bit about users who is used to writing
    issues in his national language. English is not one language in the world :)

    Now I solve the problem by commenting out the
    translation code inside format_code().

    --
    Alexey

     
    • Philip X

      Philip X - 2005-03-20

      Any other solution you can think of?

      I'd love to be able to keep the code formatting, while at the same time allow for non-ascii characterrs...

      thanks,
      philip

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.