flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-19211) StringUtil.trim() function does not remove the space in japanese language
Date Tue, 30 Apr 2013 07:22:15 GMT

    [ https://issues.apache.org/jira/browse/FLEX-19211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13645339#comment-13645339

Justin Mclean commented on FLEX-19211:

U+3000 is the Japanese ideographic space
> StringUtil.trim() function does not remove the space in japanese language
> -------------------------------------------------------------------------
>                 Key: FLEX-19211
>                 URL: https://issues.apache.org/jira/browse/FLEX-19211
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Runtime Localization
>    Affects Versions: Adobe Flex SDK 3.0 (Release)
>         Environment: Affected OS(s): Windows
> Affected OS(s): 
> Browser: Internet Explorer 6.x
> Language Found: English
>            Reporter: Adobe JIRA
>              Labels: easyfix, easytest
> Steps to reproduce:
> Reproduced in Windows Vista OS
> 1.create textinput where only spaces are entered error message is shown
> 2.checking this condition using stringutil.trim() function, based on value error mesage
is shown
> 3.Now change the keyboard language  to japanese and select the input type to Hiragana,browser
language to japanese.
> 4.same code above stingutil.trim() function is called.
> 5.But trim() function instead of trimming, it returned the same characters i.e. spaces

> 6.Validation is failed.
>  Actual Results:
> StringUtil.trim() is not trimming leading and trailing spaces returning the same string
i.e space
>  Expected Results:
>   StringUtil.trim() function should trim the leading and trailing spaces.
>  Workaround (if any):

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

View raw message