3 ms·
When converting from utf-8 to ascii with iconv, try specifying "ASCII//TRANSLIT" as target encoding to avoid removing foreign characters.
by jakobe 13y ago
When converting from utf-8 to ascii with iconv, try specifying "ASCII//TRANSLIT" as target encoding to avoid removing foreign characters.
- pornel 13y agoYour foreign characters are my native. UTF-8 is 20 years old now. Just use it already!
- jakobe 13y agoJeeze... do you really think that your native characters are a good idea to be used in an URL? Take this URL for example: http://archaeologie-ooe.info/orte/hoersching http://archaeologie-ooe.info/orte/hoersching I could have used UTF-8, and made the URL http://archäologie-oö.info/orte/hörsching http://archäologie-oö.info/orte/hörsching, but then all of the sudden 95% of the worlds population couldn't type that URL anymore.