graemethom
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Confirmation on japanese fonts issueDear Louise,
Thank you sincerely for your comments. Very passive aggressive indeed. Love it …
L: Graeme, do you read/write Japanese?
G: Yes, as a matter of fact I do.L: This is an incredibly impractical solution.
G: Really? Thanks for the tip. I actually found it quite practical and very time efficient. It did just the trick for what I needed it to do. Sorry it may not have worked for you.L: Writing kanji is not like adding the very occasional ü character into several pages of text – it’s the whole several pages.
G: Well I only actually needed it for three specific kanji. Perhaps I should have given more explanation about how I used the solution from the outset. Apologies if I misled you to thinking the method was suitable for writing lengthy prose. In fact, you might be able to use the same method if you typed the Japanese in a separate text editor external to the blog, and then copied and pasted it into a post along the lines of the steps I outlined. Could be worth a try in the absence of any other workarounds. Oh, and I mean type the Japanese using a normal IME (input method editor) – not the 6-digit code for each character (ha ha – more below).L: Suggesting the solution to WordPress’s Japanese ??? bug is for them to type out the code for every single character is the same as asking an English-writing user to write out every page of their website by typing a six digit code per letter.
G: Sorry – can’t remember suggesting or recommending that to anyone. Reread the steps. By the way, did you even actually try the steps?L: It must have taken you a long time to write out all the codes for 2000 odd kanji into a spreadsheet, unfortunately for the majority of people with this problem I think it will be totally useless.
G: Actually, it did take me a very long time (note the occasional use of bold text for effect), and for no thanks whatsoever (boo hoo). I think I clocked the total time taken at less than five minutes all up. And, you know what, you can’t please everyone now, can you? However, if my suggestion helps even just one person, I would be happy to have invested that 5 minutes to make the world a better place – even just a little bit better. Even if it doesn’t help anyone, so be it. Take it or leave it. That’s life. And, do you really think I was born yesterday? I mean, do you honestly think I sat down and typed in each of those 2,000 odd kanji, and then the corresponding 6-digit code for each one for the sake of hopefully pleasing the ungrateful masses? Come on, give me a break! Have you ever heard of “copy and paste” and “let the software do it for you” – perhaps you should reread the steps I outlined. Maybe the pin will drop. Whatever ….L: somebody please contribute if you know how to write in Japanese in a standard English wordpress installation without it turning to ??? when you press publish.
G: I really do wish you good luck with that! With such attitude, I am sure all the wonderful and helpful WordPress users and coders will come running to beat down your door to help you.Life is short – enjoy !!!
Oyasumi
Forum: Fixing WordPress
In reply to: Confirmation on japanese fonts issueWoops – kind of messed up the previous posts. The individual kanji codes appeared as the kanji instead of the codes (despite using backticks).
Anyway, I have created a Google Docs spreadsheet which contains all the codes for Joyo, Kyoikuyo, Jinmeiyo, and Toyo kanji lists.
https://spreadsheets.google.com/ccc?key=0AmkyCH91Fcm7dFlRb0drdm1ySFdFZGhxLVQ0US1vNkE&hl=en
Graeme
Forum: Fixing WordPress
In reply to: Confirmation on japanese fonts issueHere is a list of the 1,945 “joyo kanji” (common use) with the code for each (note that the final semicolon is part of the code). You should be able to search for a particular kanji within this post (joyo kanji only) and look up its code. I will follow up with kanji lists for the “kyoiku” (education), “jinmei” (people’s names), and “toyo” (previous list of common use kanji which was overhauled in 1981) categories in due course.
語
語体体洋洋
誤誤対対溶溶
護護耐耐用用
交交帯帯窯窯
侯侯待待羊羊
候候怠怠葉葉
光光態態要要
公公替替謡謡
功功泰泰踊踊
効効滞滞陽陽
厚厚胎胎養養
口口袋袋抑抑
向向貸貸欲欲
后后退退浴浴
坑坑逮逮翌翌
好好隊隊翼翼
孔孔代代羅羅
孝孝台台裸裸
工工大大来来
巧巧第第頼頼
幸幸題題雷雷
広広滝滝絡絡
康康卓卓落落
恒恒宅宅酪酪
慌慌択択乱乱
抗抗拓拓卵卵
拘拘沢沢欄欄
控控濯濯濫濫
攻攻託託覧覧
更更濁濁利利
校校諾諾吏吏
構構但但履履
江江達達理理
洪洪奪奪痢痢
港港脱脱裏裏
溝溝棚棚里里
甲甲谷谷離離
皇皇丹丹陸陸
硬硬単単律律
稿稿嘆嘆率率
紅紅担担立立
絞絞探探略略
綱綱淡淡流流
耕耕炭炭留留
考考短短硫硫
肯肯端端粒粒
航航胆胆隆隆
荒荒誕誕竜竜
行行鍛鍛慮慮
衡衡団団旅旅
講講壇壇虜虜
貢貢弾弾了了
購購断断僚僚
郊郊暖暖両両
酵酵段段寮寮
鉱鉱男男料料
鋼鋼談談涼涼
降降値値猟猟
項項知知療療
香香地地糧糧
高高恥恥良良
剛剛池池量量
号号痴痴陵陵
合合稚稚領領
拷拷置置力力
豪豪致致緑緑
克克遅遅倫倫
刻刻築築厘厘
告告畜畜林林
国国竹竹臨臨
穀穀蓄蓄輪輪
酷酷逐逐隣隣
黒黒秩秩塁塁
獄獄窒窒涙涙
腰腰茶茶累累
骨骨嫡嫡類類
込込着着令令
今今中中例例
困困仲仲冷冷
墾墾宙宙励励
婚婚忠忠礼礼
恨恨抽抽鈴鈴
懇懇昼昼隷隷
昆昆柱柱零零
根根注注霊霊
混混虫虫麗麗
紺紺衷衷齢齢
魂魂鋳鋳暦暦
佐佐駐駐歴歴
唆唆著著列列
左左貯貯劣劣
差差丁丁烈烈
査査兆兆裂裂
砂砂帳帳廉廉
詐詐庁庁恋恋
鎖鎖弔弔練練
座座張張連連
債債彫彫錬錬
催催徴徴炉炉
再再懲懲路路
最最挑挑露露
妻妻朝朝労労
宰宰潮潮廊廊
彩彩町町朗朗
才才眺眺楼楼
採採聴聴浪浪
栽栽脹脹漏漏
歳歳腸腸老老
済済調調郎郎
災災超超六六
砕砕跳跳録録
祭祭長長論論
斎斎頂頂和和
細細鳥鳥話話
菜菜勅勅賄賄
裁裁直直惑惑
載載朕朕枠枠
際際沈沈湾湾
剤剤珍珍腕腕
在在賃賃
材材鎮鎮
罪罪陳陳
財財津津
坂坂墜墜Forum: Plugins
In reply to: Multilanguage plugins – which one?Hi stadtkind,
I just posted on a different thread about a similar issue which you might want to look at.
http://ww.wp.xz.cn/support/topic/confirmation-on-japanese-fonts-issue?replies=7
Kind regards,
Graeme ThomForum: Fixing WordPress
In reply to: Non-Roman Language support in WordPress and pluginsHi “still giving”
I just posted something in a different thread which you might want to look at. I don’t know if it will help though!
http://ww.wp.xz.cn/support/topic/confirmation-on-japanese-fonts-issue?replies=7
Kind regards,
Graeme ThomForum: Fixing WordPress
In reply to: Japanese displaying as question marksHi there,
I just posted in a different thread on a similar problem which I was able to resolve without too much hassle.
http://ww.wp.xz.cn/support/topic/confirmation-on-japanese-fonts-issue?replies=7
Kind regards,
Graeme ThomForum: Fixing WordPress
In reply to: Japanese text getting truncated after 8 charactersHi DKSPLQ,
I just posted a reply in a different thread which might be worth trying.
http://ww.wp.xz.cn/support/topic/confirmation-on-japanese-fonts-issue?replies=7
Kind regards,
Graeme ThomForum: Fixing WordPress
In reply to: Confirmation on japanese fonts issueShuugo,
I just tried the following series of simple steps which seemed to work.
Conclusion: The key point of this exercise is to manually change the encoding to ISO-8859-1 within WordPress (don’t forget to Save Changes), insert the desired Japanese text in a post/page and have the software automatically convert the Japanese characters into their underlying hex code (6 characters) when you publish/update the post/page, and then manually change the encoding back to UTF-8 (and Save Changes).
Procedure:
- From the admin page, go to “Settings” – “Reading”
- At the bottom of the page in the box next to where it says “Encoding for pages and feeds” enter ISO-8859-1 (with hyphens, no spaces) – you are effectively replacing the default value in this box which usually appears as UTF-8.
- Click the “Save Changes” button.
- Go and create a new post or page (or edit an existing one) and from the HTML tab (as opposed to the Visual tab) insert the desired Japanese text (hiragana, katakana, kanji, or other double-byte characters) where it should go – the actual Japanese characters should appear as normal at this stage. DO NOT PUBLISH OR UPDATE the post/page yet!
- Just as a precaution, be sure to first select all the text in the post/page and copy it to clipboard memory (or for extra insurance dump the text into a separate text or other file) – this is just in case you lose all other content following the Japanese text after you publish/update and provides a means of recovering the content quickly and painlessly.
- Publish or Update the post/page (assuming you have the text already copied elsewhere as a backup), and once the publish/update process has finished you should be able to see a string of alphanumeric characters where all the native Japanese characters have been automatically converted into code (I think it is hex = 6 characters of code for each Japanese character).
- If you lost all the text following where the Japanese characters should have been, recover it from your backup source and start again.
- Assuming all the text is still there (with the Japanese text having been correctly converted into hex code), then view the actual post/page in your browser to confirm that the native Japanese characters appear as they should.
- Go back to “Settings” – “Reading” on the admin page and change the encoding back to UTF-8 and don’t forget to “Save Changes” again.
That is it.
So there should be no need for you to create extra text files and save them as UTF-8 or Unicode outside of WordPress, and you shouldn’t have to play around with your theme’s header or config files either.
Hope this helps.
Kind regards,
Graeme Thom