pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Igniris Valdivia Baez <igniris@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: how can I fix my accent issues?
Date: Wed, 13 Dec 2023 09:29:35 -0800
Message-ID: <2643c91b-a5b6-44fe-9c61-b9152d2f73b3@aklaver.com> (raw)
In-Reply-To: <CAD_aniEbw3frd31UNFPpcVwV3SRbB2_nh6UFM0Ovj28J0x19kA@mail.gmail.com>
References: <CAD_aniE9==zsrfaM8=zqOgr=5o0TuGjCpHMAUc6BYgBBrnmSBA@mail.gmail.com>
	<5ee6b669-f85d-4464-903f-e6556a06536c@manitou-mail.org>
	<CAD_aniFsK6iScQpdCgFUsJ51VFZvVPg-3MOQKq9=XnWhdnSFRw@mail.gmail.com>
	<14d8be16-155f-43dd-af26-21f6b1f9e717@aklaver.com>
	<CAD_aniGSyG=jO=jvwbmLPNJeCX7Y0uUygH=auv_3CkRj0GxQPg@mail.gmail.com>
	<2fecae7e-5912-4368-86b7-0d01989b05ce@aklaver.com>
	<CAD_aniFomg2wcGE0dMD3yYz3VOJGc8pfZSeWR0TBAT++iRb4jQ@mail.gmail.com>
	<d5cd8b1c-e6fc-41ab-ab2e-afc21ffe27f8@aklaver.com>
	<CAD_aniEbw3frd31UNFPpcVwV3SRbB2_nh6UFM0Ovj28J0x19kA@mail.gmail.com>

On 12/13/23 06:42, Igniris Valdivia Baez wrote:
> Hello,
> How is saved to xls files? --- using pentaho there is a tool there to
> output data in different formats in this case xls
> Defined reviewed, on particular is the data changed? ---Yes, some
> descriptions are changed
> How is transferred from xls to to the database? --- Using pentaho
> there is a tool there to load the data in different formats in this
> case xls
> Is the data reviewed in Excel only on one machine or many? ---only in
> one machine
> What the locales/encodings/character sets involved? ---UTF 8 location
> spanish_Cuba.1252
> Define what you mean by whole operation done in Windows.--- When the
> process is executed in my local machine which is in windows there are
> no issues, when it move to dev environment which is in linux but the
> xls is still reviewed in windows the load throws data with the U+FFFD

As Daniel Vérité pointed out the above is moving through many steps 
across multiple systems. The fact that you see the issue when moving the 
data from Windows --> Linux indicates this is the point of concern. In 
other words you need to determine what locale/character set you are 
working in on the Windows machine and what you are transferring it to on 
the Linux machine. Then make the appropriate adjustments. This is sort 
of generic answer as it is still not clear to me what the exact settings 
are in Windows(xls) and Linux(Postgres).

As a side note and possible alternative, why not just move the data(via 
Pentaho) into the dev database into a staging table. Then have a form 
that the reviewer can use to correct the data, after which it can be 
moved into the final table. This cuts out an OS transfer.

> � REPLACEMENT CHARACTER.
> best regards
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com






view thread (21+ messages)  latest in thread

Message-ID: <2643c91b-a5b6-44fe-9c61-b9152d2f73b3@aklaver.com>
Permalink:  ../2643c91b-a5b6-44fe-9c61-b9152d2f73b3@aklaver.com/
Also on:    postgresql.org/message-id/2643c91b-a5b6-44fe-9c61-b9152d2f73b3@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, igniris@gmail.com
  Subject: Re: how can I fix my accent issues?
  In-Reply-To: <2643c91b-a5b6-44fe-9c61-b9152d2f73b3@aklaver.com>
  References: <CAD_aniE9==zsrfaM8=zqOgr=5o0TuGjCpHMAUc6BYgBBrnmSBA@mail.gmail.com> <5ee6b669-f85d-4464-903f-e6556a06536c@manitou-mail.org> <CAD_aniFsK6iScQpdCgFUsJ51VFZvVPg-3MOQKq9=XnWhdnSFRw@mail.gmail.com> <14d8be16-155f-43dd-af26-21f6b1f9e717@aklaver.com> <CAD_aniGSyG=jO=jvwbmLPNJeCX7Y0uUygH=auv_3CkRj0GxQPg@mail.gmail.com> <2fecae7e-5912-4368-86b7-0d01989b05ce@aklaver.com> <CAD_aniFomg2wcGE0dMD3yYz3VOJGc8pfZSeWR0TBAT++iRb4jQ@mail.gmail.com> <d5cd8b1c-e6fc-41ab-ab2e-afc21ffe27f8@aklaver.com> <CAD_aniEbw3frd31UNFPpcVwV3SRbB2_nh6UFM0Ovj28J0x19kA@mail.gmail.com> <2643c91b-a5b6-44fe-9c61-b9152d2f73b3@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox