Announcement Announcement Module
Collapse
No announcement yet.
Single quote error with ReloadableResourceBundleMessageSource Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 04:52 AM.
Working...
X