AndrewShen812 / AssetsRefGenerator

MIT License
46 stars 9 forks source link

Strip diacritics /accent string when creating res file #10

Open dexcell opened 3 years ago

dexcell commented 3 years ago

Hi,

My folder or files has diacritics string. So it will create error, as you see the variable still has diacritics string. It need to be striped from the variable. eg.

static const String assets_suttas_Atthangasīla_pali = "assets/suttas/Atthangasīla/pali.txt";

Maybe something like this: https://stackoverflow.com/questions/10699849/remove-diacritics-from-string-in-java

Thank you

AndrewShen812 commented 3 years ago

Thanks for your feedback. I'll fix it in the next version.