commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LANG-866) StringEscapeUtils.escapeHTML() does not escape ~ ` @ # $ % ^ & * ( ) _ - + = | ; : . , ? } { ] [
Date Wed, 06 Mar 2013 03:14:14 GMT

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

Henri Yandell updated LANG-866:
-------------------------------

        Fix Version/s:     (was: 2.4)
    Affects Version/s: 2.4
    
> StringEscapeUtils.escapeHTML() does not escape ~ ` @ # $ % ^ & * ( ) _ - + = |  ;
: . , ? } { ] [ 
> --------------------------------------------------------------------------------------------------
>
>                 Key: LANG-866
>                 URL: https://issues.apache.org/jira/browse/LANG-866
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>    Affects Versions: 2.4
>         Environment: java
>            Reporter: vcr
>
> i am trying to encoding the charecter's (~ ` @ # $ % ^ & * ( ) _ - + = |  ; : . ,
? } { ] [ ) but when i execute the below its giving the same out put rather ascii values.
> String str = "~ ` @ # $ % ^ & * ( ) _ - + = |  ; : . , ? } { ] [ ";
> str = StringEscapeUtils.escapeJava(str);
> Expected output: should encode the charecters to ascii values.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message