Project

General

Profile

Actions

Patch #31034

closed

Remove encoding magic comments

Added by Go MAEDA almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

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
Actions

Also available in: Atom PDF