Re: It is possible to add an option to save files without UTF-8 BOM sequence - Mailing list pgadmin-support

From Taras Kopets
Subject Re: It is possible to add an option to save files without UTF-8 BOM sequence
Date
Msg-id AANLkTikoMRLUf4tFJJSHi53Nn5jtv7E3LR6E0QTBrdeB@mail.gmail.com
Whole thread Raw
In response to Re: It is possible to add an option to save files without UTF-8 BOM sequence  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: It is possible to add an option to save files without UTF-8 BOM sequence
List pgadmin-support
On Tue, Nov 16, 2010 at 6:58 PM, Guillaume Lelarge <guillaume@lelarge.info> wrote:
That's not a limitation of wxWidgets. It's doable in 2/3 hours of work.
Not sure we really want to add a workaround for this. And actually, this
is not a bug in pgAdmin. psql and surely quite a lot of tools don't do
that write. In psql's specific case, I think it's already fixed.

Anyway, as already stated, I'm not against adding such an option. It's
quite simple to add, but it is another option to add on an already
filled dialog.

According to wiki - Unicode standard does not require or recommend BOM, 
further mentioning that BOM could possibly break stuff in Unix-like systems.

I don't see the problem with adding one checkbox to options page, if this option 
solves compatibility problem with main postgres tool (psql).

If you look closer to option page there is even checkbox "Reset guru hints", 
which is much less important than checkbox "Let me run my files in psql".

What do you think?

Taras Kopets

pgadmin-support by date:

Previous
From: Demitri Muna
Date:
Subject: slony crash
Next
From: Guillaume Lelarge
Date:
Subject: Re: It is possible to add an option to save files without UTF-8 BOM sequence