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

Bram Luyten (@mire) commented on DS-1164:
-----------------------------------------

You're right, I'm seeing String#getBytes() in over 40 different places.
Instead of hardcoding "UTF-8" in there every time, shouldn't we have it as a 
config parameter? I can't think of any particular case why we would want to 
change this in the future, but avoiding the need to propagate a change in +40 
places seems sensible.
                
> XML InputStream is created using a platform-specific character encoding
> -----------------------------------------------------------------------
>
>                 Key: DS-1164
>                 URL: https://jira.duraspace.org/browse/DS-1164
>             Project: DSpace
>          Issue Type: Sub-task
>          Components: XMLUI
>    Affects Versions: 1.8.2
>         Environment: Windows
>            Reporter: Villu Ruusmann
>            Assignee: Bram Luyten (@mire)
>         Attachments: SimpleHTMLFragment.patch, stacktrace.txt
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> XML InputStream should be created using the UTF-8 character encoding. Please 
> see the attached patch file.

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

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to