aboutsummaryrefslogtreecommitdiffstats
path: root/CODE_OF_CONDUCT.md
diff options
context:
space:
mode:
authorCliff Pruitt <cliff.pruitt@cliffpruitt.com>2019-07-25 14:51:42 -0400
committerCliff Pruitt <cliff.pruitt@cliffpruitt.com>2019-07-26 12:18:01 -0400
commit369daa530dd9db7bbba79b8c75012e0fa84c9f48 (patch)
tree2f1acc6f4148dd0f39664c7a6ab703d3f5069e08 /CODE_OF_CONDUCT.md
parent0cdaa38dd190cae1f13f0f22ab3d1002b6a82081 (diff)
downloadrails-369daa530dd9db7bbba79b8c75012e0fa84c9f48.tar.gz
rails-369daa530dd9db7bbba79b8c75012e0fa84c9f48.tar.bz2
rails-369daa530dd9db7bbba79b8c75012e0fa84c9f48.zip
Handle US-ASCII strings with invalid characters in transliterate
US-ASCII is a subset of UTF-8 so we can temporarily convert US-ASCII strings to UTF-8 to perform the transliteration. After we've converted characters to ASCII representations, we can set the encoding back to US-ASCII to return the same encoding we accepted.
Diffstat (limited to 'CODE_OF_CONDUCT.md')
0 files changed, 0 insertions, 0 deletions