[TIMOB-2560] Android: Locale strings with quotes/apostrophes cause syntax errors in generated strings.xml
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:59:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 M02 |
Components | Android |
Labels | android, defect, locale, release-1.6.0, strings |
Reporter | Marshall Culpepper |
Assignee | Bill Dawson |
Created | 2011-04-15T03:22:47.000+0000 |
Updated | 2011-04-17T01:59:27.000+0000 |
Description
Android strings inside a <string>
tag must be
escaped if they use quotes or apostrophes. From the ADT strings.xml
editor:
"If you use an apostrophe or a quote in your string, you must
either escape it or enclose the whole string in the other kind of
enclosing quotes."
The escape character is simply "\"
Attachments
File | Date | Size |
---|---|---|
quotestring.zip | 2011-04-15T03:22:48.000+0000 | 770498 |