AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Chinese Wrap Line by word with Double-Byte-Symbol

 
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English)
View previous topic :: View next topic  
Author Message
cnnnc



Joined: 12 Jan 2008
Posts: 116
Location: Shantou, China

PostPosted: Sat Mar 28, 2009 2:17 am    Post subject: Chinese Wrap Line by word with Double-Byte-Symbol Reply with quote

Now Akelpad wrap line by word support only Single-byte-symbol.
Does it possible to make Akelpad support Double-byte-symbol?

----------
Regard
Back to top
View user's profile Send private message Send e-mail
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5165

PostPosted: Sat Mar 28, 2009 10:39 am    Post subject: Reply with quote

Don't understand. More details and/or screenshot?
Back to top
View user's profile Send private message Send e-mail
Infocatcher



Joined: 06 Aug 2007
Posts: 1561

PostPosted: Sat Mar 28, 2009 3:44 pm    Post subject: Reply with quote

I think, this is unicode symbols FF01-FF5E:
Quote:
ABCDEF GHIJKL MNOPQR STUVW XYZ
Back to top
View user's profile Send private message
cnnnc



Joined: 12 Jan 2008
Posts: 116
Location: Shantou, China

PostPosted: Sun Mar 29, 2009 5:15 am    Post subject: Reply with quote

Instructor wrote:
Don't understand. More details and/or screenshot?


The example in ChineseSimplified.

Following is wrap line off:
如果您经常登录一些不同的社交网络的话,Yoono插件将可以为您节省大量时间和精力。与多方聊天软件可以让您连接到不同的即时通讯服务一样,Yoono可以将您链接到Facebook、MySpace、Twitter、Flickr、FriendFeed、AOL即时消息、Google Talk, MSN Messenger和Yahoo等等服务。同时您还可以与与其他Yoono用户共享内容,例如通过在网页上标记喜欢或讨厌来告诉其他Yoono用户您的感受。

1. Following is wrap line by word:

如果您经常登录一些不同的社交网络的话,Yoono插件将可以为您节省大量时间和精力。与多方聊天软件可
以让您连接到不同的即时通讯服务一样,Yoono可以将您链接到Facebook、MySpace、Twitter、Flickr、Frien
dFeed、AOL即时消息、Google Talk, MSN
Messenger和Yahoo等等服务。同时您还可以与与其他Yoono用户共享内容,例如通过在网页上标记喜欢或
讨厌来告诉其他Yoono用户您的感受。

You see that "FriendFeed" is divided into "Frien" and "dFeed" because before it no exist any western punctuations but Chinese punctuation "、". I want to wrap line by word and words separated with "、".

"MSN Messenger" is divided into "MSN "and "Messenger".

2. Following is wrap line by symbol:

如果您经常登录一些不同的社交网络的话,Yoono插件将可以为您节省大量时间和精力。与多方聊天软件可
以让您连接到不同的即时通讯服务一样,Yoono可以将您链接到Facebook、MySpace、Twitter、Flickr、Frien
dFeed、AOL即时消息、Google Talk, MSN Messenger和Yahoo等等服务。同时您还可以与与其他Yoono用户共
享内容,例如通过在网页上标记喜欢或讨厌来告诉其他Yoono用户您的感受。

You see that "FriendFeed" is still divided into "Frien" and "dFeed". "MSN Messenger" OK now.

3. Following is wrap line in Windows Notepad:

如果您经常登录一些不同的社交网络的话,Yoono插件将可以为您节省大量时间和精力。与多方聊天软件可
以让您连接到不同的即时通讯服务一样,Yoono可以将您链接到Facebook、MySpace、Twitter、Flickr、
FriendFeed、AOL即时消息、Google Talk, MSN Messenger和Yahoo等等服务。同时您还可以与与其他Yoono用
户共享内容,例如通过在网页上标记喜欢或讨厌来告诉其他Yoono用户您的感受。

Windows Notepad win this turn!
Akelpad wrap line by symbol is nearly perfect.

In Chinese, word and word do not use any symbol to separate. There only sentence and sentence, and sentence to sentence is separated by punctuation, and if sentence too long, I like to make wrap line by word. However, Chinese and English punctuation marks are quite different. Space is mostly existed at the beginning of the paragraph, hardly exist in other locations.
And other Western punctuations are also rarely used.
Chinese punctuation is double-byte-symbol. The most used in ChineseSimplified like following:
、()《》,。;:!¥?

HexSel:
\xA1\xA2\xA3\xA8\xA3\xA9\xA1\xB6\xA1\xB7\xA3\xAC\xA1\xA3\xA3\xBB\xA3\xBA\xA3\xA1\xA1\xA4\xA3\xA4\xA1\xAD\xA1\xAA\xA3\xBF\xA1\xAE\xA1\xAF\xA1\xB0\xA1\xB1

\x3001\xFF08\xFF09\x300A\x300B\xFF0C\x3002\xFF1B\xFF1A\xFF01\x00B7\xFFE5\x2026\x2014\xFF1F\x2018\x2019\x201C\x201D

And the punctuation in ChineseTraditional is not same as ChineseSimplified.
Back to top
View user's profile Send private message Send e-mail
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5165

PostPosted: Wed Jul 08, 2009 6:22 am    Post subject: Reply with quote

See 4.2.5 release.
Back to top
View user's profile Send private message Send e-mail
cnnnc



Joined: 12 Jan 2008
Posts: 116
Location: Shantou, China

PostPosted: Wed Jul 08, 2009 8:22 am    Post subject: Reply with quote

Instructor wrote:
See 4.2.5 release.


Great! Thanks!

But a new problem:
When I set wrap by words, there is some difference with by symbols in edit-control, but there is same in print-preview.
When I print-preview, there is some difference between wrap delimiters on and off.
In my mind there are four types of situations should be
1. wrap by words + wrap delimiters off
2. wrap by words + wrap delimiters on
3. wrap by symbols + wrap delimiters off
4. wrap by symbols + wrap delimiters on

At least three types of situations should be
1. wrap by words + wrap delimiters off
2. wrap by words + wrap delimiters on
3. wrap by symbols

Now edit-control have three types of situations
1. wrap by words + wrap delimiters off
2. wrap by words + wrap delimiters on
3. wrap by symbols

That's OK.
But Print-Preview/Print only two type of situations
1. wrap by words + wrap delimiters off
2. wrap by words + wrap delimiters on

It seems Print-Preview/Print not show/print wrap by symbols.
Back to top
View user's profile Send private message Send e-mail
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5165

PostPosted: Thu Jul 09, 2009 12:13 pm    Post subject: Reply with quote

If you turn off wrap delimiters, then default wrap delimiters will be used. Also wrap delimiters has affect only for word wrap type.
In test version wrap by symbols in print/preview should work.
Back to top
View user's profile Send private message Send e-mail
cnnnc



Joined: 12 Jan 2008
Posts: 116
Location: Shantou, China

PostPosted: Fri Jul 10, 2009 12:39 am    Post subject: Reply with quote

Instructor wrote:
In test version wrap by symbols in print/preview should work.


OK now. Thanks!
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group