I wrote a similar tool that does this (http://lunicode.com). It's on Github if you want to use the code: https://github.com/combatwombat/Lunicode.js
I wrote a similar tool that does this (http://lunicode.com). It's on Github if you want to use the code: https://github.com/combatwombat/Lunicode.js