Skip to content
/ vidna Public

IDNA string library for converting internationalized domain names written in V

License

Notifications You must be signed in to change notification settings

fleximus/vidna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published