Skip to content

Instantly share code, notes, and snippets.

@sail1972
sail1972 / main.go
Last active January 3, 2024 19:29
golang convert UTF16 to UTF8 or UTF8 to UTF16
// from blog of http://angelonotes.blogspot.com/2015/09/golang-utf16-utf8.html
package main
import (
"golang.org/x/text/encoding/unicode"
"golang.org/x/text/transform"
"fmt"
)
func main() {
@sail1972
sail1972 / index.html
Created August 27, 2017 19:21
Zepto.js Test Zepto.js Test // source https://jsbin.com/kuwopil
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Zepto.js Test">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Zepto.js Test</title>
<script src="https://zeptojs.com/zepto.min.js"></script>
</head>
<body>