On 2010-12-18 09:07, Burt Leung wrote:
> Hello,
> 
> I recently used the StringEscapeUtilities to encode/decode a character
> into its equivalent HTML entity. While I haven't used it much I do
> notice that a couple cases in particular seem "wrong".
> 
> case1: StringEscapeUtils.escapeHtml4("ä")
> This appears to give "ã". This should actually be "ä".
> 
> case2: StringEscapeUtils.escapeHtml4("å");
> This gives "&aring" but should actually be "ã".

This one is correct "å" should give "å"

> Using the unescape functional also gives the (incorrect) reverse results.
> 
> Is this an actual bug or am I missing something?
> 
> Thanks,
> Burt
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to