Chinese Wrap Line by word with Double-Byte-Symbol

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 119
Joined: Sat Jan 12, 2008 10:16 am
Location: Shantou, China

Chinese Wrap Line by word with Double-Byte-Symbol

Post by cnnnc »

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

----------
Regard

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

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

Offline
Posts: 1862
Joined: Mon Aug 06, 2007 1:07 pm
Contact:

Post by Infocatcher »

I think, this is unicode symbols FF01-FF5E:
ABCDEF GHIJKL MNOPQR STUVW XYZ

Offline
Posts: 119
Joined: Sat Jan 12, 2008 10:16 am
Location: Shantou, China

Post by cnnnc »

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.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

See 4.2.5 release.

Offline
Posts: 119
Joined: Sat Jan 12, 2008 10:16 am
Location: Shantou, China

Post by cnnnc »

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.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

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.

Offline
Posts: 119
Joined: Sat Jan 12, 2008 10:16 am
Location: Shantou, China

Post by cnnnc »

Instructor wrote:In test version wrap by symbols in print/preview should work.
OK now. Thanks!
Post Reply