-
Jun 28th, 2012, 03:36 AM
#1
Single quote error with ReloadableResourceBundleMessageSource
Hello,
I have a problem with the single quote in my ResourceBundle.
I use ReloadableResourceBundleMessageSource to manage my bundle with defaultEncoding = UTF-8
Extract from messages_fr.properties :
mykey=L'unit\u00E9 documentaire demand\u00E9e est introuvable {0}.
Result :
Lunité documentaire demandée est introuvable {0}
It removes single quote and doesn't display the parameter.
When I double single quote like that :
mykey=L''unit\u00E9 documentaire demand\u00E9e est introuvable {0}.
Result :
L'unité documentaire demandée est introuvable my_parameter.
All is fine.
But the specification of properties does not say to escape single quote.
Any help is appreciated!
Regards,
Julien
Last edited by julien.guiraud; Jun 28th, 2012 at 04:52 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules