Bug #30

fixing Kernel.IsAlpha for Japanese Hiragana and Katakana

Added by J. Templ almost 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:03/06/2015
Priority:NormalDue date:
Assignee:J. Templ% Done:

100%

Category:-
Target version:1.7
Forum topic:

Description

Kernel.IsAlpha returns FALSE for all Japanese Hiragana and Katakana syllables.
Kernel.IsAlpha uses WinApi.IsCharAlphaW, which returns TRUE only for
characters that are either upper or lower case. Using WinApi.GetStringTypeW
would solve the problem and is about twice as fast.

Reported by X512 on the BlackBox Community Forum, 2015-02-07
cf. http://community.blackboxframework.org/viewtopic.php?f=21&t=80

Associated revisions

Revision c07169a8
Added by J. Templ almost 4 years ago

IsAlpha uses WinApi.GetStringTypeW instead of WinApi.IsCharAlphaW. Refs: #30.
GetStringTypeW solves the Hiragana and Katakana issue and is twice as fast as IsCharAlphaW.
Proposed by X512.

Signed-off-by: Josef Templ <>

Revision 28117a63
Added by J. Templ almost 4 years ago

Merge pull request #16 from BlackBoxCenter/issue-#30

Refs: #30.

History

#1 Updated by J. Templ almost 4 years ago

  • Status changed from New to Closed
  • Assignee set to J. Templ
  • % Done changed from 0 to 100

Also available in: Atom PDF