Automate Unicode character encoding for HTML

Unicode character encoding

Group of coworkers seated around a table in a bright office, talking together with a green reusable water bottle in front of themOur CMS does not support Unicode text thus when we need to search-replace for characters like the ™ and © symbols. This takes a fair amount of time and is easy to miss so I wrote a script in AutoHotKey to automatically handle the Unicode character encoding.

Now I can highlight the word and click a button and  Whamo!  Instant replacement with HTML equivalents!  No more trying to scan text and find illegal characters.

A black AutoHotkey branded water bottle on a desk beside a laptop, with a person reading a newspaper in the backgroundUnicode character encoding

Here is the AutoHotKey code I use.  My code first grabs the highlighted text and copies it to the clipboard, where it manipulates it, then sends it back to the active program I was working in. No more need for Unicode character encoding!

Comments are closed.