Project

General

Profile

Actions

Patch #31034

closed

Remove encoding magic comments

Patch #31034: Remove encoding magic comments

Added by Go MAEDA over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:

Description

The magic comment "encoding: utf-8" is no longer necessary. It was necessary only in Ruby 1.9 in which default script encoding was ASCII-8BIT. The default is UTF-8 after Ruby 2.0.

Since Redmine 4.0 or later don't support Ruby 1.9 (#25538), we can remove the magic comment.


Files

remove-magic-comment.patch (25 KB) remove-magic-comment.patch Go MAEDA, 2019-03-16 06:19

Updated by Go MAEDA over 7 years ago Actions #1

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed.

Updated by Go MAEDA over 7 years ago Actions #2

  • Tracker changed from Defect to Patch

Updated by Go MAEDA over 7 years ago Actions #3

  • Subject changed from Remove the encoding magic comment to Remove encoding magic comments
Actions

Also available in: PDF Atom