Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You might think about what you're asking for. You're asking for an encoding that will recognize 'á' and turn it into 'a'. That's a converter, not an encoding. It would have to know what encoding the source is in so that it can convert to whatever encoding you're using.</p> <p>Wait, maybe that's not what you're asking. There <em>are</em> encodings that treat those as single bytes. For example, the <a href="http://en.wikipedia.org/wiki/ISO/IEC_8859-1" rel="nofollow">ISO-8859-1 encoding</a> (also called Latin-1) treats many accented characters as a single byte.</p> <p>(The following struck out because I was talking about ASCII, not UTF-7 ... long day.)</p> <p><strike>UTF-7 isn't particularly compatible with many other encodings. It has 128 possible values: just enough space for the 52 letters (upper and lower case, combined) used in the Latin alphabet, the 10 numerals, 32 control characters, and various punctuation marks. But it's not sufficient for Spanish, for example, which has upside-down questions marks and exclamation points as well as other things.</strike></p> <p><a href="http://en.wikipedia.org/wiki/UTF-7" rel="nofollow">UTF-7</a> is "compatible" with other encodings in that it can represent the entire Unicode character set. But only some characters (known as the "direct characters") and a few control characters can be directly encoded as single ASCII bytes. Those characters will be the same as in UTF-8 and in many single-byte character sets. All other characters are represented by sequences, and will be different from any other encoding.</p> <p>The most commonly used encoding today? On the Web, UTF-8 is used a lot. It's also the default encoding used when you create a <code>StreamWriter</code>. For the work I do (mostly English, and Western European character sets), it works better than anything else.</p> <p>Now, it's possible that what you're looking for is something that will treat 'á' and 'a' as the same in comparisons. That's a different question. See <a href="http://msdn.microsoft.com/en-us/library/885e1sy1.aspx" rel="nofollow">Performing Culture-Insensitive String Comparisons</a> for information on that.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload