Skip to content

shannoncruey/jQuery.multibyte.base64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

A jQuery plugin for base64 encoding, that allows multibyte and unicode characters.

This is simply a jQuery plugin wrapper around code originally found here:
http://www.webtoolkit.info/javascript-base64.html
(This host is now defucnt, and the javascript snippet has become prevalent.)

SAMPLE CODE:

//some special characters
var instr = $.base64.encode('£¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏ–—‘’‚“”„†‡•…‰€™'); 
alert(instr);
var outstr = $.base64.decode(instr);
alert(outstr);

About

jQuery base64 plugin including multibyte characters.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published