Edgewall Software

Ticket #5254 (closed defect: fixed)

Opened 19 months ago

Last modified 10 months ago

displaying text files with borgström ....

Reported by: ThurnerRupert Owned by: jonas
Priority: lowest Milestone: 0.11
Component: general Version:
Severity: trivial Keywords:
Cc:

Description

it seems that source:/sandbox/pycon/workflow/AUTHORS has a characterset which cannot be displayed correctly, in this case jonas borgström. should it be like that or is this a bug in trac?

Attachments

Change History

  Changed 19 months ago by eblot

It's usually due to a mismatch between ISO-8859-1 and UTF-8.

Jonas' last name is a really good test for this issue, which has already been fixed in several Python source files ;-)

In this case, the file is encoded as ISO-8859-1 while most of the other files are using UTF-8. It guess it should be converted to UTF-8 then.

  Changed 18 months ago by asmodai@…

The location does not match anymore.

source:trunk/AUTHORS is now the right place.

Easily fixed by doing a:

$ iconv -f iso8859-1 -t utf-8 AUTHORS > new && mv new AUTHORS && svn commit

It writes an UTF-8 BOM and should be recognised by any decent editor worth its encoding salt.

  Changed 18 months ago by eblot

Wow:

Avoid usage of BOM markers in UTF-8 files.
This can cause A LOT of issues on non-Windows platforms, and should be avoided.

For example, it can cause a Python script file not to execute on Unix.

  Changed 10 months ago by osimons

Wasn't this fixed by [6281]? Are there any remaining issues with this, or can the ticket be closed?

follow-up: ↓ 6   Changed 10 months ago by cboos

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from 0.11.1 to 0.11

Yes, that file is in UTF-8 now (and there's no BOM marker in it, to address eblot's concerns).

in reply to: ↑ 5   Changed 10 months ago by eblot

Replying to cboos:

Yes, that file is in UTF-8 now (and there's no BOM marker in it, to address eblot's concerns).

Thanks ;-)

Add/Change #5254 (displaying text files with borgström ....)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.