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

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Taras Kopets <tkopets(at)gmail(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: It is possible to add an option to save files without UTF-8 BOM sequence
Date: 2010-11-16 22:47:07
Message-ID: 4CE309EB.6040304@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Le 16/11/2010 22:39, Guillaume Lelarge a écrit :
> Le 16/11/2010 21:31, Taras Kopets a écrit :
>> On Tue, Nov 16, 2010 at 6:58 PM, Guillaume Lelarge
>> <guillaume(at)lelarge(dot)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.
>>
>
> Perhaps, I don't know quite a lot about BOM.
>
>> I don't see the problem with adding one checkbox to options page, if this
>> option
>> solves compatibility problem with main postgres tool (psql).
>>
>
> psql 9.0 knows how to handle this.
>
>> 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".
>>
>
> Much less for you, right. Doesn't mean everyone has the same opinion.
> And removing something is usually not appreciated.
>
>> What do you think?
>>
>
> That I'm waiting for your patch :)
>

BTW, I added a ticket, so that we remember your request when we'll some
time to work on it.

--
Guillaume
http://www.postgresql.fr
http://dalibo.com

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Dan Shoubridge 2010-11-17 09:40:27 Re: Feature Request for Debugging SQL in PGAdmin3 when SQL contains variables
Previous Message Guillaume Lelarge 2010-11-16 22:45:01 Re: Feature Request for Debugging SQL in PGAdmin3 when SQL contains variables