Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VIDNA

An IDNA string library for converting internationalized domain names written in V

Installation

You can install this package either from [VPM] or from GitHub:

v install fleximus.idna
v install --git https://github.com/fleximus/vidna

Usage

To use idna in order to convert international strings

import fleximus.idna

fn main() {
	input := 'café'
	conv := idna.to_ascii(input)
	conv2 := idna.to_unicode(conv)

	println('${input} converts to ${conv} and back again to ${conv2}')
}

License

MIT

About

IDNA string library for converting internationalized domain names written in V

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages