nickpad/will_paginate-bootstrap — pull request #2 by f3ndot (2012-05-24 16:09:26+00:00)
Title: Unicode ellipses character breaks apps with internal encoding of ISO-8859-1 (Latin1)

We recently took over a project that requires some odd legacy tweaks. One such tweak is setting the default encoding for the entire app (internal and external) to ISO-8859-1 aka Latin1:

```ruby
Encoding.default_external = Encoding.find("ISO-8859-1")
Encoding.default_internal = Encoding.find("ISO-8859-1")
```

As a result, encountering the ```ELLIPSES``` constant sent HAML out of whack. I've fixed this by writing in the HTML Entity Code equivalent of the ```...```:

```ruby
ELLIPSIS = '…'
```

I understand this is quite an edge-case, but it could be helpful to some.