https://github.com/bodacious/motionyamlbugexample
Example app, showing the bug described in https://github.com/HipByte/motion-yaml/issues/9
https://github.com/bodacious/motionyamlbugexample
Last synced: over 1 year ago
JSON representation
Example app, showing the bug described in https://github.com/HipByte/motion-yaml/issues/9
- Host: GitHub
- URL: https://github.com/bodacious/motionyamlbugexample
- Owner: Bodacious
- Created: 2014-08-09T18:56:53.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-09T19:04:07.000Z (almost 12 years ago)
- Last Synced: 2025-01-10T16:54:57.412Z (over 1 year ago)
- Language: Ruby
- Size: 133 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Motion-YAML nil Bug Example
Here's a test project showing the bug described in [HipByte/motion-yaml Issue #9](https://github.com/HipByte/motion-yaml/issues/9)
At first I thought it was being caused by the gem cutting off the last character in all cases. After trying to re-create the error again, I found this wasn't quite the case.
In our app, we deal with some non-roman characters such as the Norwegian "å" - the bug I've described only seems to happen when these are introduced.
### How To Reproduce This Bug
Just now - when you try to load the app it will report that YAML.load() returns nil. To get it to return the YAML contents as a hash, the way we expect it to, you can add an extra line-break at the end