amnezia-vpn / amneziawg-android

AmneziaWG for Android
Apache License 2.0
58 stars 16 forks source link

UTF-8 in configs makes import fail #15

Open vp2 opened 3 days ago

vp2 commented 3 days ago

There's an issue parsing native config files saved from "bigger" Amnezia app. Under Windows it seems like most of text editors are saving with UTF-8 BOM prefix, which causes the parser to emit "unknown-section". Forcing text editor to save as ANSI / BOM-less solves the problem. That should be added to FAQ probably.

vp2 commented 3 days ago

Since we're not saving, but copy-pasting from the app, we're using our editor of choice.