abhisheknair / keynote-nf

Automatically exported from code.google.com/p/keynote-nf
0 stars 0 forks source link

Export error in displaying Chinese node name #324

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.File-->export
2.
3.

What is the expected output? What do you see instead?
expect to see right encoding in Chinese, but somehow it displays random 
code; however, the content display correctly.

What version are you using? On what operating system?

1.7.8.1 Win XP
Please provide any additional information below.

some export content
============================

--- ±M§QĹv ---

--- ±M§QĹv¤§¦@¦ł ---

1.撤回或拋棄申請案

2.依本法33條提出的分割申請

3.改請:例如新型改請發明。

4.本法另有規定者,
    61條,除共有人另有約定之外,申請共有專利權讓與或授權他人實施時,須由共有人
全體提出。
    62條,發明權利為共有時,共有人申請將其專利權之應有部分讓與、信託他人或設質
權時,應由全體共有人同意。

5.如共有人間約定有代表人,則得由該代表人提出申請。
======================================================
Thank you

Original issue reported on code.google.com by jeromes...@gmail.com on 3 Jun 2010 at 3:56

GoogleCodeExporter commented 9 years ago
I cannot reproduce it. Could you attach a tiny .knt file in Chinese with a pair 
of
nodes, and indicate exactly what command and options are you using?

Original comment by dpra...@gmail.com on 4 Jun 2010 at 6:29

GoogleCodeExporter commented 9 years ago
attached files are 
1. screenshot of Keynote running
2. output result
3. keynote file

and thank you for your help

Original comment by jeromes...@gmail.com on 6 Jun 2010 at 10:42

Attachments:

GoogleCodeExporter commented 9 years ago
Issue 332 has been merged into this issue.

Original comment by dpra...@gmail.com on 12 Jun 2010 at 9:40

GoogleCodeExporter commented 9 years ago
Could you see if your files 'nodehead.rtf' and 'notehead.rtf' contains a tag 
such as ansicpg1250?
If so, could you try to modify that files, keeping something like the following?
{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset1{\*\fname ...

Also, node names are saved inside .knt in ANSI, not in UTF8. Did you write the 
node names with the region setting in chinese and later change your region 
settings to english?

Original comment by dpra...@gmail.com on 6 Jan 2013 at 12:56

GoogleCodeExporter commented 9 years ago
Last comment is not correct: from version 1.7.7 node names and note names are 
saved in UTF8 without BOM in .knt

Original comment by dpra...@gmail.com on 6 Jan 2013 at 1:25

GoogleCodeExporter commented 9 years ago
Wait, KeyNote is really saving that fields in UTF8 only when the text is not 
valid in ANSI for the system codepage (usually it would show '??..') This was 
done to maximize backward compatibility so that the node names are recorded in 
ANSI in most cases.
In this situation, changing regional settings will affect the way node names 
are interpretted.

I'm thinking of saving these fields in UTF8 in all cases...

Original comment by dpra...@gmail.com on 6 Jan 2013 at 1:39

GoogleCodeExporter commented 9 years ago
Fixed in revision r171

Original comment by dpra...@gmail.com on 7 Jan 2013 at 1:00

GoogleCodeExporter commented 9 years ago
I have just released a new version of KeyNote NF: 1.7.9 Beta 4

Could you verify and confirm if the issues are correctly resolved?
Thanks
Daniel

Original comment by dpra...@gmail.com on 7 Jan 2013 at 7:43