I have to deal mainly with English alphabets and all punctuation marks, I do not need to worry about European accents. So the only thing I have is when the user inserts something that he copies from the Internet, including, for example, the apostrophe, which when I put into the console (on Win7) displays
"ItΞΓΓs" #, where he really is "It"
So my main question is whether there is an end-to-end conversion method for everyone that I can use in Ruby that correctly replaces all elements., ?? "'~` _- using ASCII counter elements?
I really know very little about encodings, if you think that this is the wrong question that may arise, and perhaps this is so, please give advice on what I should look for instead.
thank
source
share