Skip to content

Instantly share code, notes, and snippets.

@stephancom
Created February 13, 2020 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephancom/e0232b629321dc5f6594f60e79f63326 to your computer and use it in GitHub Desktop.
Save stephancom/e0232b629321dc5f6594f60e79f63326 to your computer and use it in GitHub Desktop.
not quite working :(
def unistrike(str)
# return "\u0336#{str}".unicode_normalize
str.split.map { |c| "\u0336#{c}".unicode_normalize }.join
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment