adamsalter / test-project
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
haml_utf8
Adam Salter (author)
Sat Nov 07 01:24:38 -0800 2009
commit 1aee12d33b025deab709ef8e0270b79b068471d3
tree 651046c68e4215740c55214d0bfcfa4ea3ba7aed
parent 5c0fc04ebe6d77f9cae0bc0511a092383f54dc8d
tree 651046c68e4215740c55214d0bfcfa4ea3ba7aed
parent 5c0fc04ebe6d77f9cae0bc0511a092383f54dc8d
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
README.md | ||
| |
Rakefile | ||
| |
app/ | ||
| |
config/ | ||
| |
db/ | ||
| |
doc/ | ||
| |
lib/ | ||
| |
log/ | ||
| |
public/ | ||
| |
script/ | ||
| |
spec/ | ||
| |
test/ |
README.md
Strange encoding errors.
Install ruby 1.9.1p243
Download. Rake db:migrate (it uses sqlite).
Ok, first thing to observe:
Start server with ./script/server - WebBrick on my system
Browse to:
http://0.0.0.0:3000/pages
observe (erb): Bad char:ú:ASCII-8BIT
- Browse to:
http://0.0.0.0:3000/users
observe (haml): Bad char: ú : UTF-8
- Create a new user called 'ü', this should crash the index.html.haml page when it tries to display the line with 'user.name'
Second,
Try the same steps as above whilst running under passenger.
- Browse to '/users'
It will throw an error 'invalid byte sequence in US-ASCII'

