commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark DeSpain (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LANG-339) StringEscapeUtils.escapeHtml() escapes multibyte characters like Chinese, Japanes, etc.
Date Thu, 03 Jun 2010 03:45:55 GMT

     [ https://issues.apache.org/jira/browse/LANG-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark DeSpain updated LANG-339:
------------------------------

    Comment: was deleted

(was: FYI - The assertion below that was included with testEscapeHiragana(), which was added
to StringEscapeUtilsTest, is asserting that a string equals itself.  

+        String unescaped = StringEscapeUtils.unescapeHtml( escaped );
+
+        assertEquals( "Hiragana character unicode behaviour has changed - expected no unescaping",
escaped, escaped);


I believe that the intent is to assert that unescaped equals escaped in order to detect a
change in behavior.)

> StringEscapeUtils.escapeHtml() escapes multibyte characters like Chinese, Japanes, etc.
> ---------------------------------------------------------------------------------------
>
>                 Key: LANG-339
>                 URL: https://issues.apache.org/jira/browse/LANG-339
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>    Affects Versions: 2.3
>         Environment: Operating System: All
> Platform: All
>            Reporter: Guo Yong
>             Fix For: 3.0
>
>
> StringEscapeUtils.escapeHtml() escapes multibyte characters like Chinese, Japanes, etc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message