Am 03.09.2013 14:15, schrieb Marc Heiler:
> Hi,
> 
> Are there alternatives to yaml files?
> 
> I need mostly:
> 
> key: value pairs
> 
> although the ability to load arrays directly into a .rb file would be
> cool too.

Best option: YAML (surprise)

> Reason: I can no longer use yaml files in ruby 2.0 if they are not in UTF.

???

Yes you can.

ASCII works out of the box (it is valid UTF-8),
other encodings could be converted before parsing them.

Regards,
Marcus


-- 
GitHub: https://github.com/stomar/
PGP:    0x6B3A101A