Path: csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!news.mb-net.net!open-news-network.org!.POSTED!not-for-mail From: Bart Kastermans Newsgroups: comp.lang.php Subject: Trying to decode text that is supposed to be ISO-8859-1 Date: Tue, 13 Sep 2011 19:56:20 -0600 Organization: MB-NET.NET for Open-News-Network e.V. Lines: 20 Message-ID: <8739fzj397.fsf@gmail.com> NNTP-Posting-Host: kasterma.colorado.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: gwaiyur.mb-net.net 1315965356 428 128.138.150.65 (14 Sep 2011 01:55:56 GMT) X-Complaints-To: abuse@open-news-network.org NNTP-Posting-Date: Wed, 14 Sep 2011 01:55:56 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-User-ID: U2FsdGVkX19a6VXtCNb2EdafgzI5KE0TiKyuqAE9+o61PDknUocrMmEtB1WdOkAk Cancel-Lock: sha1:GWlbg/AmxDrDR9Vw09rsNFCO0ik= sha1:myw3YHKsNC0U8iXYiZ61AmwgmDo= Xref: x330-a1.tempe.blueboxinc.net comp.lang.php:3158 I have downloaded a file that claims to be ISO-8859-1. In it (among many other stuff) are the bytes shown here (first column is the character, the second is ord(character), the third and fourth are binary respectively hexidecimal representations of the character. P / 80 / 01010000 / 50 l / 108 / 01101100 / 6c z / 122 / 01111010 / 7a e / 101 / 01100101 / 65 \303 / 195 / 11000011 / c3 \205 / 133 / 10000101 / 85 \313 / 203 / 11001011 / cb \206 / 134 / 10000110 / 86 This is supposed to be ISO-8859-1 encoded, and should encode the character U+0148 (\v{n}; Latin small letter n with caron). Does anybody have any idea how I could decode this (or how it was encoded in the first place)? Any suggestions would be greatly appreciated.