aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/api/hub/periodes.hub.erb
diff options
context:
space:
mode:
authorZakaria BOUZIANE2014-12-08 10:40:44 +0100
committerZakaria BOUZIANE2014-12-08 10:40:44 +0100
commita8123b51d1d82330bb8f9d197d14a28fe7268943 (patch)
treed95d4e8cf3953d4ac7e16b2251a5f035c123ff37 /app/views/api/hub/periodes.hub.erb
parent51dcdcf56f98618b6b1113e003f07ccf76c27b12 (diff)
downloadchouette-core-a8123b51d1d82330bb8f9d197d14a28fe7268943.tar.bz2
HUB Export : refer Windows_1252 to ANSI
Diffstat (limited to 'app/views/api/hub/periodes.hub.erb')
-rw-r--r--app/views/api/hub/periodes.hub.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/api/hub/periodes.hub.erb b/app/views/api/hub/periodes.hub.erb
index 2bb3e8368..0eefda438 100644
--- a/app/views/api/hub/periodes.hub.erb
+++ b/app/views/api/hub/periodes.hub.erb
@@ -1 +1 @@
-<%= Chouette::TimeTable.find(@time_table.id).objectid.sub(/(\w*\:\w*\:)(\w*)/, '\2') %>;<%= @time_table.comment.encode(Encoding::ISO_8859_1) if @time_table.comment %>;<%= @time_table.start_date.strftime("%d/%m/%Y") %>;<%= @time_table.end_date.strftime("%d/%m/%Y") %>;<%= @calendar %>;<%= @identifier %><%= "\u000D\u000A" %> \ No newline at end of file
+<%= Chouette::TimeTable.find(@time_table.id).objectid.sub(/(\w*\:\w*\:)(\w*)/, '\2') %>;<%= @time_table.comment.encode(Encoding::Windows_1252) if @time_table.comment %>;<%= @time_table.start_date.strftime("%d/%m/%Y") %>;<%= @time_table.end_date.strftime("%d/%m/%Y") %>;<%= @calendar %>;<%= @identifier %><%= "\u000D\u000A" %> \ No newline at end of file