Redmineの文字化けとか勝手にまとめ
いろいろ参考にさせていただきました。
ありがとうございました。
転記間違えしてたらごめんなさい。
後はチケットのCVSコメントのところか……。
PDF出力文字化け解消
by redmine の PDF の文字化け解消!?
lang/ja.yml
-general_pdf_encoding: UTF-8
+general_pdf_encoding: SJIS
リポジトリでのCVSコメント文字化け解消
by RedmineによるCVS参照で文字化け対応(2)
app/views/repositories/_revisions.rhtml
-<td class="comments"><%= textilizable(changeset.comments) %></td>
+<td class="comments"><%=to_utf8 textilizable(changeset.comments) %></td>
app/views/repositories/revision.rhtml
-<%= textilizable @changeset.comments %>
+<%=to_utf8 textilizable @changeset.comments %>
リポジトリ(ディレクトリ欄)でのCVSコメント文字化け解消
app/views/repositories/_dir_list_content.rhtml
-<td class="comments"><%=h truncate(changeset.comments, 50) unless changeset.nil? %></td>
+<td class="comments"><%=h truncate(to_utf8(changeset.comments), 50) unless changeset.nil? %></td>
活動でのCVSコメント文字化け解消
by RedmineによるCVS参照で文字化け対応(3)
app/views/projects/activity.rhtml
- <%= link_to format_activity_title(e.event_title), e.event_url %></dt>
+ <%= link_to format_activity_title(to_utf8(e.event_title)), e.event_url %></dt>
- <span class="description"><%= format_activity_description(e.event_description) %></span><br />
+ <span class="description"><%= format_activity_description(to_utf8(e.event_description)) %></span><br />
CVSの時間を日本時間に
by リポジトリの一覧の日付がUTC(GMT)の件
lib/redmine/scm/adapters/cvs_adapter.rb
- cmd = "#{CVS_BIN} -d #{root_url} rlog"
+ cmd = "#{CVS_BIN} -d #{root_url} rlog -T "
→確か一度リポジトリの設定消してつくりなおせば直ったような気が。
クライアントにCVSNT使ってたらログにエラー出るし、ディレクトリ見えない時
lib/redmine/scm/adapters/cvs_adapter.rb
- cmd = "#{CVS_BIN} -d #{root_url} rls -ed "
+ cmd = "#{CVS_BIN} -d #{root_url} rls -e -T "
| 固定リンク
この記事へのコメントは終了しました。

コメント