10-13-2010, 09:01 AM | #1 |
Junior Member
Posts: 7
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
|
Problem with Chinese news feeds on Kindle 3
Calibre is really fantastic. My gratitude to the developers for such a wonderful program.
I have some problem with news feeds in Chinese. I tried all the Chinese news receipts that comes with Calibre (version 0.7.23). The content of the news read fine but the lists of the news (the screen with the news titles and short summaries) are scrambled. The font is not displayed properly. I suspect this has something to do with the language coding and country settings. I tried several configurations but couldn’t get it work. I attached the news receipt from the built-in BBC Chinese. Any help will be highly appreciated. BTW, I am using Kindle 3 (wifi) and I changed my locale to zh-CN as discussed in this thread (https://www.mobileread.com/forums/showthread.php?t=99078). Built-in BBC Chinese news receipt: from calibre.web.feeds.news import BasicNewsRecipe class AdvancedUserRecipe1277443634(BasicNewsRecipe): title = u'BBC Chinese zh-CN' oldest_article = 7 max_articles_per_feed = 100 feeds = [ (u'\u4e3b\u9875', u'http://www.bbc.co.uk/zhongwen/simp/index.xml'), (u'\u56fd\u9645\u65b0\u95fb', u'http://www.bbc.co.uk/zhongwen/simp/world/index.xml'), (u'\u4e24\u5cb8\u4e09\u5730', u'http://www.bbc.co.uk/zhongwen/simp/china/index.xml'), (u'\u91d1\u878d\u8d22\u7ecf', u'http://www.bbc.co.uk/zhongwen/simp/business/index.xml'), (u'\u7f51\u4e0a\u4e92\u52a8', u'http://www.bbc.co.uk/zhongwen/simp/interactive/index.xml'), (u'\u97f3\u89c6\u56fe\u7247', u'http://www.bbc.co.uk/zhongwen/simp/multimedia/index.xml'), (u'\u5206\u6790\u8bc4\u8bba', u'http://www.bbc.co.uk/zhongwen/simp/indepth/index.xml') ] extra_css = ''' @font-face {font-family: "DroidFont", serif, sans-serif; src: url(res:///system/fonts/DroidSansFallback.ttf); }\n body {margin-right: 8pt; font-family: 'DroidFont', serif;}\n h1 {font-family: 'DroidFont', serif;}\n .articledescription {font-family: 'DroidFont', serif;} ''' __author__ = 'rty' __version__ = '1.0' language = 'zh-CN' pubisher = 'British Broadcasting Corporation' description = 'BBC news in Chinese' category = 'News, Chinese' remove_javascript = True use_embedded_content = False no_stylesheets = True encoding = 'UTF-8' conversion_options = {'linearize_tables':True} masthead_url = 'http://wscdn.bbc.co.uk/zhongwen/simp/images/1024/brand.jpg' keep_only_tags = [ dict(name='h1'), dict(name='p', attrs={'class':['primary-topic','summary']}), dict(name='div', attrs={'class':['bodytext','datestamp']}), ] |
10-13-2010, 10:34 AM | #2 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
Advert | |
|
10-13-2010, 10:42 AM | #3 |
Junior Member
Posts: 7
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
|
The problem only appears on the K3. The default mobi viewer on my computer (Windows Vista Home) is Amazon Kindle PC and they all look fine. I haven't checked it on Calibre viewer but I expect it should be fine too. Thanks.
|
10-13-2010, 10:55 AM | #4 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Edit: I didn't mean for this to sound dismissive, but it appears that your Kindle is using different fonts for the content and the area where you are having problems. I'd start off by trying to find out if it's possible to display Chinese characters in the problem area. If not, there's no workaround and you'll have to get the fix from Amazon. Last edited by Starson17; 10-13-2010 at 11:16 AM. |
|
10-13-2010, 11:26 AM | #5 | |
Junior Member
Posts: 7
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
|
Quote:
|
|
Advert | |
|
10-13-2010, 12:50 PM | #6 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre encodes all content in MOBI files in the UTF-8 encoding, including the section lists. Apparently the kindle's section list font doesn't support east asian character sets. You should look into installing the unicode font hack for your Kindle.
|
10-13-2010, 01:16 PM | #7 | |
Junior Member
Posts: 7
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
|
Quote:
Thanks for the clarification. I did a quick google search for Kindle unicode font hack, but it seems there is no hack for K3 yet Another minor question: when we need to set the encoding, is it correct to use "utf-8" or "uft8"? Or are they the same? Thanks. |
|
10-13-2010, 01:18 PM | #8 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
they both work the same.
|
10-13-2010, 02:34 PM | #9 |
Junior Member
Posts: 7
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
|
|
02-22-2011, 08:40 AM | #11 |
Connoisseur
Posts: 73
Karma: 44
Join Date: Sep 2010
Device: kindle 3
|
I updated my kindle using firmware 3.1 and i still have the problem with strange characters in Subscription Title.
For screenshoot with same newspaper on Kindle with firmware 3.0.3 see this thread . Last edited by sorin; 02-22-2011 at 08:44 AM. |
02-22-2011, 11:59 AM | #13 | |
Junior Member
Posts: 7
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
|
Quote:
|
|
02-23-2011, 04:00 AM | #14 |
Connoisseur
Posts: 73
Karma: 44
Join Date: Sep 2010
Device: kindle 3
|
The title is wrong after is created with Calibre and it looks the same even in Mobipocket Reader so i don't think changing locale in Kindle will show the right characters.
|
02-26-2011, 07:50 AM | #15 |
Connoisseur
Posts: 82
Karma: 10
Join Date: Oct 2010
Device: Kindle
|
Just find that the same problem occurs if the periodical title is in Chinese. So I think it is the problem of the Kindle firmware. I would suggest you write to Amazon so they are aware of the issue.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
News feeds and Kindle collections | poloman | Calibre | 2 | 09-03-2010 03:28 AM |
Problems with news feeds and Kindle 2 | oksahmof2 | Calibre | 0 | 08-28-2010 12:32 AM |
Kindle 2 and News Feeds | Bookworm88 | Calibre | 18 | 09-02-2009 07:48 PM |
Problem with News Feeds | Sydney's Mom | Calibre | 10 | 03-07-2009 02:54 PM |
Kindle Newbie working with RSS news feeds | Junior94 | Introduce Yourself | 2 | 01-02-2009 09:14 AM |