Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support escaping special characters in string resources files #4178

Closed
fbarthelery opened this issue Jan 25, 2024 · 4 comments
Closed

Support escaping special characters in string resources files #4178

fbarthelery opened this issue Jan 25, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request resources

Comments

@fbarthelery
Copy link
Contributor

strings.xml files on Android support escaping special characters. To facilitate migration to multiplatform this should be supported too.

@fbarthelery fbarthelery added enhancement New feature or request submitted labels Jan 25, 2024
@terrakok terrakok self-assigned this Jan 26, 2024
@terrakok
Copy link
Collaborator

terrakok commented Feb 6, 2024

#4220

@terrakok terrakok closed this as completed Feb 6, 2024
@fbarthelery
Copy link
Contributor Author

This was asked in the PR but wasn't answered : what about quotes ?
It was \' that makes me notice this was missing first.

@terrakok
Copy link
Collaborator

terrakok commented Feb 7, 2024

For the compose resources you don't have to mirror quotes. So, we don't want to copy all android restrictions. Yes, you are supposed to slightly modify your xml

@fbarthelery
Copy link
Contributor Author

Thanks for the clarification 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request resources
Projects
None yet
Development

No branches or pull requests

4 participants