Usually, we don't write whitespaces between characters or words in Simplified Chinese writing. However, in some specific cases, you need to put whitespaces around words and we will explain it in this quick guide.
If a sentence contains only Chinese characters, please avoid using whitespaces and delete the existing ones that could come from the Machine Translation.
Source text: Are you facing this issue only with automatic upload?
✘ 您是否只在自动上传时 遇到这个 问题 ？
✘ 您是否只在自 动上传时遇到这个问题？
When a sentence contains non-Chinese characters, then the following rules apply:
If these words appear in a sentence, they should have whitespaces both before and after them, to separate them from the Chinese characters.
Source text: On LeanCloud, the storage of data is done with AVObject.
✘ 在 LeanCloud上，数据存储是围绕AVObject 进行的。
✓ 在 LeanCloud 上，数据存储是围绕 AVObject 进行的。
Product and brand names
For product and brand names, please refer to the writing format of the official definition.
Source text: Douban FM
✘ 豆瓣 FM
Numbers, as foreign words, should be separated from the Chinese characters before and after.
Source text: I spent 5000 yuan on grocery shopping today.
✘ 今天出去买菜花了 5000元。
✓ 今天出去买菜花了 5000 元。
If a measure contains both the number and the unit, there should be a space between the number and the unit. Also, as explained in the rules above, this compound should be separated from the Chinese characters with whitespaces.
Source text: The speed of the optical fiber cable of my house is 10 Gbps, and the SSD is 20TB in total.
✘ 我家的光纤入户宽频有 10Gbps，SSD 一共有 20TB。
✓ 我家的光纤入户宽频有 10 Gbps，SSD 一共有 20 TB。
*Percentages and degrees*
There should not be any spacing between numbers and percentages or degrees.
Source text: Today's temperature gets as high as 233°.
✘ 今天的气温高达 233 °。
✓ 今天的气温高达 233°。
Source text: The new MacBook Pro gains a 15% boost on CPU performance.
✘ 新 MacBook Pro 有 15 % 的 CPU 性能提升。
✓ 新 MacBook Pro 有 15% 的 CPU 性能提升。
Do not place whitespaces before or after punctuation in fullwidth form
Source text: I just bought an iPhone, I'm very happy about this!
✘ 刚刚买了一部 iPhone ，好开心！
Also, don't forget to check the Guidelines for any doubt related to the usage of whitespaces and punctuation in this language.