Questions tagged «chinese-locale»

19
如何解决:“ UnicodeDecodeError:'ascii'编解码器无法解码字节”
as3:~/ngokevin-site# nano content/blog/20140114_test-chinese.mkd as3:~/ngokevin-site# wok Traceback (most recent call last): File "/usr/local/bin/wok", line 4, in Engine() File "/usr/local/lib/python2.7/site-packages/wok/engine.py", line 104, in init self.load_pages() File "/usr/local/lib/python2.7/site-packages/wok/engine.py", line 238, in load_pages p = Page.from_file(os.path.join(root, f), self.options, self, renderer) File "/usr/local/lib/python2.7/site-packages/wok/page.py", line 111, in from_file page.meta['content'] = page.renderer.render(page.original) File "/usr/local/lib/python2.7/site-packages/wok/renderers.py", line 46, in …

3
简体中文和繁体中文的语言代码?
我们正在网站上创建多语言子站点。 我想使用2个字母的语言代码。西班牙语和法语很容易。他们将获得如下网址: mydomain.com/es mydomain.com/fr 但是我遇到了繁体中文和简体中文的问题。有针对这些语言使用的2个字母代码的标准吗? mydomain.com/zh mydomain.com/?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.