Say I wanted to add a string with contents "Hello -- World" (that's a
long dash) and also <say> the TM (trademark) symbol. I was hoping I
could add something like the following to the grd file:

<message name="IDS_XYZ" desc="Something.">Hello&#150;World&#153;</
message>

But this doesn't seem to produce the results I expected. When I
extract the string from the string table using l10n_util::GetString(),
what i get back is just "Hello World" (i.e. without the symbols).

Is this supported? Should I instead be using the $1, $2 placeholders
and populating the &#150; &#153; myself after lookup?

Thanks,
Bookem
--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to