[ https://issues.apache.org/jira/browse/FLEX-19211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean resolved FLEX-19211. ---------------------------------- Resolution: Fixed Fix Version/s: Apache Flex 4.10.0 Checked into develop branch. > 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 > Fix For: Apache Flex 4.10.0 > > > 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