Android Question Error compiling in Release: Filenames with accents and other characters (ç) in Assets

inakigarm

Well-Known Member
Licensed User
Longtime User
When compiling in Debug mode, I'm able to run the compiled program in device (via B4A-Bridge). The program copies from DirAssets to DirInternal several graphic files with accents and other characters (like ç) on their filenames.

But when compiling in Release mode, this error arises:

upload_2019-6-11_16-57-27.png


It seems that even Android permits this characters (UTF-8) in filenames, but Windows is encoding the filename in another encoding system (find this on https://conexionesrazonables.blogspot.com/2012/04/realizando-una-aplicacion-para-android.html, in english at page bottom)

Looking at data\android\'appname'\files I can see this files with this characters, so the files are installed at least once (don't know if it was at Debug or in a Release compilation)

Any workaround different than rename all the files (and change also the sqlite DB registers)?
 

inakigarm

Well-Known Member
Licensed User
Longtime User
Ok.
Only for knowlege, why it works on Debug and not on Release ? (I've my theories but I'd like to know the real reason)
 
Upvote 0
Top