capacitor-plugins icon indicating copy to clipboard operation
capacitor-plugins copied to clipboard

Filesystem: special character encoding

Open ChristofferAaen opened this issue 1 year ago • 1 comments

Bug Report

When i use the filesystem.writefile, I encounter that im not able to have danish characters like "æ" "ø" and "å" on either Android or iOS in the filepath. I have tried to decode it before i call the function however no matter what I have tried it return the characters as encoded. On PC however, it works perfectly fine. I have played around with the encoding but to no luck. I suspect this to be a bug.

Plugin(s)

Capacitor Version

image
PASTE OUTPUT HERE

Platform(s)

Android, iOS

Current Behavior

create a filepath that contains danish characters on Android and iOS return the encoded string of characters

Expected Behavior

To show the characters like on PC

Code Reproduction

Other Technical Details

Additional Context

ChristofferAaen avatar Sep 24 '24 18:09 ChristofferAaen

This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed.

Please see the Contributing Guide for how to create a Sample App.

Thanks! Ionitron 💙

Ionitron avatar Oct 16 '24 08:10 Ionitron

It looks like this issue didn't get the information it needed, so I'll close it for now. If I made a mistake, sorry! I am just a bot.

Have a great day! Ionitron 💙

Ionitron avatar Nov 01 '24 00:11 Ionitron

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Nov 16 '24 00:11 ionitron-bot[bot]