Lowercase i with acute accentGreek small phi
ASCII 237 is í on Windows and φ in old DOS.
í (Small I with Acute) is byte 237 in Windows-1252, Unicode U+00ED. Spanish uses it in día, río and the name María, and Czech, Hungarian, Icelandic and Irish use it for a long i. Searching Spanish names is the practical problem. In PostgreSQL, ILIKE ignores case but not accents, so ILIKE '%maria%' misses María. The unaccent extension fixes that: WHERE unaccent(name) ILIKE unaccent('%maria%'). For large tables, index the unaccented expression, which needs an immutable wrapper function around unaccent. Old DOS had í at 161. In UTF-8 it's C3 AD, and the HTML entity is í.
φ (Small Phi) is byte 237 in code page 437, the original IBM PC character set, and maps to Unicode U+03C6. It names the golden ratio, about 1.618, and an angle in spherical coordinates, where conventions clash: physics and ISO 80000-2 use φ for the azimuth and θ for the angle from the pole, while some maths texts swap them. Check which one a formula uses before plugging in numbers. Unicode also has the phi symbol ϕ (U+03D5), a variant shape, and NFKC normalization folds it into φ. Code page 850 put Ý on this byte. In UTF-8, φ is CF 86, and the HTML entity is φ.
#include <stdio.h>int main(void) {/* On Windows (code page 1252) byte 237 is í.Modern terminals expect UTF-8, so print the code point, not the byte. */printf("\u00ED\n"); /* UTF-8: C3 AD */unsigned char b = 237; /* the raw Windows-1252 byte */printf("%d 0x%02X\n", b, b); /* 237 0xED */return 0;}
#include <stdio.h>int main(void) {/* Byte 237 is φ only on a console using code page 437(chcp 437 on Windows, or DOSBox). On a UTF-8 terminal thelone byte 0xED is invalid and prints as garbage, often �. */putchar(237);/* char is signed on x86, so a plain char holding 0xED is -19.Use unsigned char when you compare or index by byte value. */char c = (char)237;unsigned char u = 237;printf("\n%d %d\n", c, u); /* -19 237 *//* Portable: print the Unicode character as UTF-8 instead. */printf("\u03C6\n"); /* CF 86 */return 0;}
It's UTF-8 read as Windows-1252, where í's second byte is the soft hyphen, an invisible character, so only the à stays visible. The usual repair still works while that hidden character survives: `s.encode('cp1252').decode('utf-8')` in Python turns it back into día. Run it before any cleanup that strips soft hyphens, or the í is lost for good.
To split the vowels. Without the accent, an i next to an a would merge into one syllable, and the written í says they're two, dí-a, with the stress on the i. The same rule gives país and oír. It's required spelling, so dia without the accent is simply wrong in Spanish.
Both exist. Sí with the accent means yes, and it's also the pronoun in para sí (for himself). Si without it means if, and it's the name of the note B in solfège. So sí, quiero (yes, I want to) and si quiero (if I want to) are different sentences.
Type Alt+0237 for í, and Alt+0205 for the capital Í. Without the leading zero, Windows looks the number up in the DOS code page instead, and on a US system 237 there is the Greek letter phi.
In LaTeX, \phi draws the straight-stroke ϕ and \varphi draws the loopy φ, which trips up anyone who assumes the plain command gives the plain letter. When you convert a formula to text and the shape matters, map \varphi to φ and \phi to ϕ, then check the result in the font you'll actually publish with.
Type Alt+0237 for í, and Alt+0205 for the capital Í. Without the leading zero, Windows looks the number up in the DOS code page instead, and on a US system 237 there is the Greek letter phi.