Bug #30
fixing Kernel.IsAlpha for Japanese Hiragana and Katakana
Status: | Closed | Start date: | 03/06/2015 | |
---|---|---|---|---|
Priority: | Normal | Due 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
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 <josef.templ@gmail.com>
History
#1 Updated by J. Templ almost 5 years ago
- Status changed from New to Closed
- Assignee set to J. Templ
- % Done changed from 0 to 100