4 ms·
YAML offers a simple solution though: just quote all one-word text and, more importantly, quote all text you don't manually write into the YAML file. Also, the
by DarkWiiPlayer 6y ago
YAML offers a simple solution though: just quote all one-word text and, more importantly, quote all text you don't manually write into the YAML file.
Also, the main problem is that excel changes your input instead of just misinterpreting it. The difference being, the original will be gone.
- takluyver 6y agoYou could also start every Excel cell with ' . But it's really convenient not to quote stuff, so that's what everyone does, both in Excel and in YAML.
- FabHK 6y agoExactly. Excel offers the same "simple" solution.
- reportgunner 6y ago> excel changes your input That's a feature though. Coincidentally it only happens when you paste the data or if you messed up the generation of the file (didn't escape the column you want to leave untouched). To me it seems like a case of you're holding it wrong. (which I don't wholeheartedly support)