Gunther Furtado <gunfurt...@gmail.com> writes: > Em Qua, 2012-06-06 às 17:11 -0400, Ben Pfaff escreveu: >> Gunther Furtado <gunfurt...@gmail.com> writes: >> >> > The Portuguese language has a lot of diacritical marks and it >> > is almost impossible to deal with data from, say, a list of >> > cities from any Brazilian geographic area without stumbling on >> > an "á" or a "ç". All official (from governmental agencies) data >> > uses those signs an it is a very good thing they do so! >> > >> > The problem is that PSPP software can't import those correctly >> > replacing any char with diacritical marks on it with "?" >> > (question marks). PSPP behaves differently if the source data >> > is UTF-8 or ISO-8859-1: with the latter, PSPP import preview >> > panel is unable to show the correct chars from the very >> > beginning (it shows a rectangle with the diagonal lines just >> > like an X inside a box); with the former, the import preview >> > panel shows the correct chars!! but when I click to actually >> > perform the import it replaces the correct chars with "?". >> >> Gunther, can you give a small example of input, along with >> step-by-step instructions, that illustrate the problem? >> > > I will attach the cvs file I have downloaded from (www.igbe.gov.br) and > changed from ISO-8859-1 to UTF8 using iconv > > $ iconv -f iso-8859-15 -t utf-8 Mandirituba_censoagro2006.cvs > / > Mandirituba_censoagro2006UTF8.cvs > > I convert this file because the original one didn't import the way I > expected.
I've now posted some patches to fix the problem to pspp-dev. They should be available in the list archives in a few minutes, at: http://lists.gnu.org/archive/html/pspp-dev/2012-06/index.html When they're reviewed, I'll arrange for the fixed version to be uploaded to Debian. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org