Modify

Opened 18 years ago

Closed 4 years ago

#634 closed enhancement (wontfix)

Automatically detect Unicode Perforce servers

Reported by: Lewis Baker Owned by: Lewis Baker
Priority: normal Component: PerforcePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Further to ticket #632, the need for the [perforce] configuration section could be completely eliminated if the plugin automatically detected whether the Perforce server was running in Unicode mode or not.

This is possible on Perforce 2004.2 or later servers by setting the P4CHARSET to 'none' and running the equivalent of p4 -ztag info and looking for the '... unicode enabled' line and if present then setting the P4CHARSET to 'utf8'.

This would add a little overhead (a few ms) to connecting to the Perforce server. But this could be overcome by still allowing the unicode = 1/0 line and only performing the introspection of the server if this line was not present.

Attachments (0)

Change History (2)

comment:1 Changed 17 years ago by anonymous

Sounds like a no-brainer. Who cares about a few mS overhead? It should query every time, and the config option should be removed. 2004.2 is very old now.

comment:2 Changed 4 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Plugin is deprecated.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Lewis Baker.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.