T0mTom/jQuery.multibyte.base64
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
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);