{"id":1550,"date":"2013-01-13T01:55:13","date_gmt":"2013-01-13T06:55:13","guid":{"rendered":"http:\/\/www.jlao.net\/?p=1550"},"modified":"2019-09-12T00:52:11","modified_gmt":"2019-09-12T07:52:11","slug":"%e4%b8%ad%e8%8b%b1%e6%96%87%e4%b9%8b%e9%97%b4%e7%9a%84%e7%a9%ba%e6%a0%bc","status":"publish","type":"post","link":"https:\/\/www.jlao.net\/en\/technology\/1550\/","title":{"rendered":"Spaces between Chinese and English Text"},"content":{"rendered":"When typesetting with both Chinese and English (or other western languages), we may feel that they are squeezed too close together. In fact, a space is desired between Chinese and English texts. E.g., we prefer <b>\u4e2d\u6587 English \u6df7\u5408<\/b> over <b>\u4e2d\u6587English\u6df7\u5408<\/b>. This issue has been much resolved in Word or XeTeX (cctspace can be used for CJK in LaTeX to add tilde before and space after English texts), but on webpages, in Adobe Illustrator \/ InDesign and many other software, the manual adjustment can be tiresome. So I wrote a simple script to solve this issue. It automatically adds spaces between Chinese and English characters, remove spaces before and after Chinese punctuations as well as consecutive spaces. Hope this small tool can be useful to you.<br \/>\n<!--more--><\/p>\n<p>You can open it <a href=\"https:\/\/www.jlao.net\/wp-content\/uploads\/ECSpace.html\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.","protected":false},"excerpt":{"rendered":"<p>Sorry, this entry is only available in \u4e2d\u6587.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[5],"tags":[92,106,107],"class_list":["post-1550","post","type-post","status-publish","format-standard","hentry","category-technology","tag-typography","tag-multilingual-typesetting","tag-space"],"_links":{"self":[{"href":"https:\/\/www.jlao.net\/en\/wp-json\/wp\/v2\/posts\/1550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jlao.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jlao.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jlao.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jlao.net\/en\/wp-json\/wp\/v2\/comments?post=1550"}],"version-history":[{"count":0,"href":"https:\/\/www.jlao.net\/en\/wp-json\/wp\/v2\/posts\/1550\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jlao.net\/en\/wp-json\/wp\/v2\/media?parent=1550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jlao.net\/en\/wp-json\/wp\/v2\/categories?post=1550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jlao.net\/en\/wp-json\/wp\/v2\/tags?post=1550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}