July 30, 2010

Entitize Strings with Groovy

Not sure if ‘entitize’ is the right term but it’s what people at my old job would call the process of taking high level characters and replacing them with the unicode. For example, € would be replaced with €. This was needed with some inhouse applications or dealing with output to HTML/XML to ensure it would show the right character to the users. Well, I needed to do this awhile ago and I looked up some old Python code that I had done before and re-wrote it in Groovy. Read more

© Anthony Scotti 2020

Powered by Hugo & Kiss.