github.com/vinser/u8xml
Copyright 2024 Serguei Vine. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. The u8xml package implements NewDecoder which can be used to parse XML files with IANA character encodings such as Windows-1252, ISO-8859-1, unicode,etc. It can be used to decode XML files/strings with Go Standard Library xml package Decoder type methods like Decode(), Token(), etc. XML files must contain a BOM at the beginning in the case of unicode characters or an XML declaration with an encoding attribute otherwise. XML files with UTF-8 content may be detected either by BOM or XML declaration. XML files with no BOM or XML declaration will be treated as UTF-8.
proxy.golang.org
v0.1.3
over 1 year ago
4
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/vinser/u8xml
spec |
| License | MIT |
| Namespace | github.com/vinser |
| First Release | over 1 year ago |
| Last Synced | 9 days ago |
Repository
| Stars | 0 on GitHub |
| Forks | 0 on GitHub |