[ 
https://jira.duraspace.org/browse/DS-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27817#comment-27817
 ] 

Pascal-Nicolas Becker commented on DS-1469:
-------------------------------------------

To fix the filtering I changed the version of the maven-war-plugin to 2.3 to 
avoid the bug mentioned above. I added the maven-resource-plugin and configured 
it as described here: 
http://maven.apache.org/plugins/maven-resources-plugin/examples/encoding.html I 
tried to add a "-encoding UTF-8" as compiler attribute but the compiler 
reported it as unknown flag (calling it manually was no problem, but calling it 
using maven the encoding was not accepted).

All these changes did not helped. The only work around for the moment is to 
encode the build.properties file ISO-8859-1 (also known as latin1) encoded or 
to write all values that includes problematic characters directly into 
[dspace-source]/dspace/config/dspace.cfg.


                
> Repository name with the accent (dspace.cfg with UTF-8 encoding show 
> incorrect)
> -------------------------------------------------------------------------------
>
>                 Key: DS-1469
>                 URL: https://jira.duraspace.org/browse/DS-1469
>             Project: DSpace
>          Issue Type: Bug
>    Affects Versions: 3.0, 3.1
>         Environment: Linux CentOS 6.3 x64
>            Reporter: Onivaldo Rosa Junior
>
> DSPACE only shows the repository name with the accent with file dspace.cfg in 
> ANSI encoding, if in UTF-8 the name is displayed incorrectly (in control 
> panel, e-mail, rss etc.).
> The ant install/update make file in UTF-8.
> Exemple:
> # Name of the site (dspace.cfg in ANSI)
> dspace.name = Repositório Institucional da Secretaria Executiva da UNA-SUS
> Show => Repositório Institucional da Secretaria Executiva da UNA-SUS
> # Name of the site (dspac.cfg in UTF-8)
> dspace.name = Repositório Institucional da Secretaria Executiva da UNA-SUS
> Show => Repositório Institucional da Secretaria Executiva da UNA-SUS

--
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

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to