August 18, 2006 Learn » Re: Operating with substrings in strings | |||
|---|---|---|---|
| |||
...practice, slicing through the middle of a UTF8 character is probably unlikely as most string... | |||
August 18, 2006 Learn » Re: Operating with substrings in strings | |||
|---|---|---|---|
| |||
char is a utf8 character. Where is the difference to ubyte or 'ascii/latin1/...' char... | |||
August 18, 2006 Learn » Re: Operating with substrings in strings | |||
|---|---|---|---|
| |||
I do not know much about UTF8. And I am often not sure if I... | |||
August 15, 2006 General » Re: Shouldn't bool be initialized to 0xFF ? | |||
|---|---|---|---|
| |||
...it's an UTF8 string, and 0xFF is clearly invalid in UTF8. The 'physical storage... | |||
August 05, 2006 General » Re: Casting between char[]/wchar[]/dchar[] | |||
|---|---|---|---|
| |||
...then
abc.foo.utf8();
will also fail; you'd have to use:
abc.foo().utf8(); | |||
August 05, 2006 General » Re: Casting between char[]/wchar[]/dchar[] | |||
|---|---|---|---|
| |||
...the standard. actually, I think: alias toUTF8 utf8; alias toUTF16 utf16; alias toUTF32 utf32; would... | |||
August 05, 2006 General » Re: Casting between char[]/wchar[]/dchar[] | |||
|---|---|---|---|
| |||
...you can do that yourself, Hasan?
char[] utf8 (dchar[] s)
{
...
}
dchar[] utf32 (char[] s)
{
...
}
etc... | |||
August 05, 2006 General » Re: Casting between char[]/wchar[]/dchar[] | |||
|---|---|---|---|
| |||
...my32str = .....; //I can write my32str = process( my32str.utf8 ).utf32; //instead of //my32str = toUTF32( process( toUTF8... | |||
August 04, 2006 Learn » Reading UTF32 files | |||
|---|---|---|---|
| |||
...UTF32 file? Stream only seems to support UTF8 with readLine and UTF16 with readLineW. Thanks | |||
August 02, 2006 General » char-type renaming? | |||
|---|---|---|---|
| |||
Derek Parnell wrote: Sure, although char, utf8, utf16, utf32 are much better choices, IMHO :) I... | |||
Copyright © 1999-2021 by the D Language Foundation