The file object in Java is not supporting the character en-dash '–' (unicode \u2013
). It is automatically converting the en-dash character to hyphen '-' (unicode \u002D
).
I am using the ScmProvider.list method:
ListScmResult list(ScmRepository repository, ScmFileSet fileSet,
boolean recursive, ScmVersion version)
List each element (files and directories) of fileSet as they exist in the repository.
In File set, one of the items (SCM File) has the repo item with en-dash replaced with normal hyphen.
I am using Java version 1.6. Is there any limitation regarding this?