[GH-ISSUE #15] UTF-8 in configs makes import fail #9

Open
opened 2026-10-13 21:05:02 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @vp2 on GitHub (Sep 27, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-android/issues/15

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.

Originally created by @vp2 on GitHub (Sep 27, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-android/issues/15 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.
Author
Owner

@vp2 commented on GitHub (Sep 27, 2024):

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

<!-- gh-comment-id:2379954267 --> @vp2 commented on GitHub (Sep 27, 2024): Since we're not saving, but copy-pasting from the app, we're using our editor of choice.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-android#9
No description provided.