While working on a French application (French is full of single quotes) I needed to use i18n with single quotes and many other underlined characters.
So here is an excerpt of my messages.fr-FR file:
some.key=C'est la vie!
And here is the conclusion:
Cest la vie!
How can I use single quoted strings in my posts? Already tried those:
some.key=C\'est la vie! --> C\est la vie! some.key="C'est la vie!" --> "Cest la vie!"
EDIT : thanks to the KDavid link , I was able to find a solution. You need to double the single quote.
C''est la vie! --> C'est la vie!
i.am.michiel
source share