diff options
author | Alexis211 <alexis211@gmail.com> | 2009-09-19 20:37:05 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-09-19 20:37:05 +0200 |
commit | 0d5f4201217272f93d608be86e644d58f181725a (patch) | |
tree | ac4ac7f6b411cecc024866a26cf7fe158ba75f78 /Source/Kernel/Library/WChar.class.h | |
parent | 64fc3862f602750733b7dc0447d22ae5d4146821 (diff) | |
download | Melon-0d5f4201217272f93d608be86e644d58f181725a.tar.gz Melon-0d5f4201217272f93d608be86e644d58f181725a.zip |
Lot of changes. Log now go to /System/Logs/*.log
Diffstat (limited to 'Source/Kernel/Library/WChar.class.h')
-rw-r--r-- | Source/Kernel/Library/WChar.class.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Kernel/Library/WChar.class.h b/Source/Kernel/Library/WChar.class.h index 62226f5..ba94a23 100644 --- a/Source/Kernel/Library/WChar.class.h +++ b/Source/Kernel/Library/WChar.class.h @@ -22,6 +22,7 @@ struct WChar { WChar(char c); //From ascii character WChar(const char* c, u8int encoding = UE_UTF8); //From utf8 string + static u32int ucharLen(const char* c, u8int encoding = UE_UTF8); //Returns count of bytes in one unicode character static u32int utfLen(const char* c, u8int encoding = UE_UTF8); //Returns count of utf8 characters in string void affectAscii(char c); |