nkf

package module
v0.0.0-...-94f4fc9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2019 License: MIT Imports: 8 Imported by: 0

README

go-nkf

tiny nkf(Only JIS, SJIS, EUC-JP, UTF-8)

Library

chardet

The MIT License(MIT)
Copyright (c) 2012 chardet Authors

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CharDet

func CharDet(b []byte) (string, error)

func Convert

func Convert(file *os.File, in string, out string, nl string) (string, error)

Convert Character encoding

func Guess

func Guess(file *os.File) (string, error)

Only detect Character encoding

func NlRep

func NlRep(str string, nl string) string

func ToEuc

func ToEuc(str string) (string, error)

func ToJis

func ToJis(str string) (string, error)

func ToSjis

func ToSjis(str string) (string, error)

func ToUtf8

func ToUtf8(str string, in string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL