[
https://issues.apache.org/jira/browse/GROOVY-7796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gerardo closed GROOVY-7796.
---------------------------
Resolution: Not A Problem
It was a file encoding problem, not groovy problem
> size() method returns wrong values with accented Strings
> --------------------------------------------------------
>
> Key: GROOVY-7796
> URL: https://issues.apache.org/jira/browse/GROOVY-7796
> Project: Groovy
> Issue Type: Bug
> Affects Versions: 2.4.6
> Environment: windows 7 64 bits, Groovy 2.4.6, JDK 1.8.0_74 64-Bit
> Server
> Reporter: Gerardo
>
> String.size() method returns wrong values when the string contains accented
> letters:
> println 'Ciclope'.size()
> 7 //ok
> println 'CĂclope'.size()
> 8 //wrong
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)