In western languages, if we need to emphasize some words, or mark something to be special, we use ALL UPPER CASE to do that even when the word is normally written with lower case. While in Japanese, we can write that word in katakana even when the word is normally written with hiragana.
Does this fact mean, when doing computer programming, we can treat hiragana as a lower case letter, and katakana as an upper case letter. For example, are the following algorithms appropriate for a Japanese user?
- A procedure converting a sentence to all upper case converts all hiragana characters to katakana inside, and a procedure converting a sentence to all lower case converts all katakana characters to hiragana chracters.
- When naming variables in camelCase, if the variable name is in Japanese, use a katakana at the beginning of a word, and a hiragana otherwise
- In terms of password complexity requirement, e.g. at least 1 upper case and 1 lower case, count hiragana as lower case and katakana as upper case when the user enters Japanese as password.