We are working with the simple backend for the new Rails 2.2 i18n system, and I wanted to know the proper syntax for setting the encoding in a yaml file.
On other words what is the yaml for this xml:
<?xml encoding="UTF-8" ?>
We are working with the simple backend for the new Rails 2.2 i18n system, and I wanted to know the proper syntax for setting the encoding in a yaml file.
On other words what is the yaml for this xml:
<?xml encoding="UTF-8" ?>
You can't define the encoding in YAML. But there's also no need to, since, according to the YAML specification, YAML files must be UTF-8 or UTF-16 and include a BOM. This means the encoding is transparent to the YAML and its parsing.