# Why double spaces in .json?

**URL:** <https://discourse.cataclysmdda.org/t/why-double-spaces-in-json/6884>\
**Category:** The Toolbox\
**Created:** [July 25, 2014, 11:38am UTC](https://discourse.cataclysmdda.org/t/why-double-spaces-in-json/6884 "2014-07-25T11:38:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LazyCat-rus](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@LazyCat-rus](https://discourse.cataclysmdda.org/u/LazyCat-rus)\
**Post date:** [July 25, 2014, 11:38am UTC](https://discourse.cataclysmdda.org/t/why-double-spaces-in-json/6884/1 "2014-07-25T11:38:09Z")

</div>

subj

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [July 25, 2014, 4:50pm UTC](https://discourse.cataclysmdda.org/t/why-double-spaces-in-json/6884/2 "2014-07-25T16:50:54Z")

</div>

If you mean inside descriptions after periods it’s because we’re using a fixed width font in the game, so two spaces after a period is the correct setting for readability.  
If you mean for indentation of the json itself, it’s a semi-arbitrary indentation level, though we haven’t been very consistent about it one way or the other.  
If you’re talking about something else you’ll need to be more specific.

---

<div class="post-metadata">

**Author:** ![LazyCat-rus](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@LazyCat-rus](https://discourse.cataclysmdda.org/u/LazyCat-rus)\
**Post date:** [July 28, 2014, 5:45am UTC](https://discourse.cataclysmdda.org/t/why-double-spaces-in-json/6884/3 "2014-07-28T05:45:25Z")

</div>

I was talking about descriptions. May be it was some hidden reason for double spaces.

---

<div class="post-metadata">

**Author:** ![vultures](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/vultures/32/69_2.png) [@vultures](https://discourse.cataclysmdda.org/u/vultures)\
**Post date:** [July 28, 2014, 9:03pm UTC](https://discourse.cataclysmdda.org/t/why-double-spaces-in-json/6884/4 "2014-07-28T21:03:36Z")

</div>

I agree, there are still a few errors in the general .PO export, altough I’ve always considered double-spaces as a matter of a typist’s style. If you (LazyCat-rus) are thinking about a codewise reason to it all, reconsider the fact the double-spaces are usually found after some punctuation, so you could insert a string, some char or both (%s, %c) regardless of it all.
