psychparser Questions

3

Solved

I'm parsing a YAML file in Ruby and some of the input is causing a Psych syntax error: require 'yaml' example = "my_key: [string] string" YAML.load(example) Resulting in: Psych::SyntaxError: (...
Sanjuana asked 2/1, 2020 at 12:32

1

Solved

In our JRuby/Rails project, we are using the i18n gem, and support Japanese as well as English. Our config/locales.ja.yml file is in UTF-8, without any BOM. When running Rails 3.2.9 on JRuby 1.7.1...
Veradi asked 12/12, 2012 at 7:48
1

© 2022 - 2024 — McMap. All rights reserved.