about summary refs log tree commit homepage
path: root/extras
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-11-15 07:01:15 +0000
committerEric Wong <e@80x24.org>2013-11-15 07:10:01 +0000
commit961b2c60e190d1e212a30e6c87de590cab44a206 (patch)
treef73b332622242419f7ae228e841183e509b2e283 /extras
parentf7c45b50ae9c042ba8bd78658ba8132fdaf96096 (diff)
downloadyahns-961b2c60e190d1e212a30e6c87de590cab44a206.tar.gz
This is mainly needed for the regexp in extras/try_gzip_static.rb
(POSIX filesystem paths have no encoding, it's just a bag of bytes).

Since we host apps of all types and for all (human)
languages/encodings, all of our internals must be encoding-agnostic.
Diffstat (limited to 'extras')
-rw-r--r--extras/try_gzip_static.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/try_gzip_static.rb b/extras/try_gzip_static.rb
index b65725a..e3010f1 100644
--- a/extras/try_gzip_static.rb
+++ b/extras/try_gzip_static.rb
@@ -1,3 +1,4 @@
+# -*- encoding: binary -*-
 # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
 # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
 require 'time'