|
@@ -1,13 +1,5 @@
|
|
|
/*
|
|
|
- Copyright 2021 Jeroen van Rijn <[email protected]>.
|
|
|
- Made available under Odin's BSD-3 license.
|
|
|
-
|
|
|
- List of contributors:
|
|
|
- Jeroen van Rijn: Initial implementation.
|
|
|
-*/
|
|
|
-
|
|
|
-/*
|
|
|
- A unicode entity encoder/decoder.
|
|
|
+ package entity implements a unicode `&entity;` encoder and decoder.
|
|
|
|
|
|
This code has several procedures to map unicode runes to/from different textual encodings.
|
|
|
- SGML/XML/HTML entity
|
|
@@ -21,6 +13,14 @@
|
|
|
*/
|
|
|
package encoding_unicode_entity
|
|
|
|
|
|
+/*
|
|
|
+ Copyright 2021 Jeroen van Rijn <[email protected]>.
|
|
|
+ Made available under Odin's BSD-3 license.
|
|
|
+
|
|
|
+ List of contributors:
|
|
|
+ Jeroen van Rijn: Initial implementation.
|
|
|
+*/
|
|
|
+
|
|
|
import "core:unicode/utf8"
|
|
|
import "core:unicode"
|
|
|
import "core:strings"
|