-
> From what I've seen, I don't understand why you're saying that
> unicode isn't supported.
>
> I can store UTF-8 in bstring correctly, (even through I can't expect
> a[i] giving me the i-th character, but the i-th byte of the string).
> Converting to/from UCS2/UCS4 and UTF-8 is straightforward ( a
> 10 lines of code), so it isn't that hard to do, when one need...
2009-09-08 06:07:03 UTC in better string library
-
Uhh ... how would you fill in the DLLMain() call? I haven't done this nor thought of how I really would do it. The implementation pretty much follows from the interface, so I am not sure what the value add of making BstrLib into a DLL. Does it make sense for your program to upgrade or modify the way BstrLib works independently from the rest of your program?.
2009-09-02 23:09:28 UTC in better string library
-
Sockets are a transport for copying blocks of binary data between two programs. The Better String Library is a library that encapsulates strings as blocks of binary data. So the two actually fit perfectly together (there are numerous ways of going wrong if you attempt to simply encode ordinary C strings, or direct unicode data over sockets.)
The Better String Library has stream-IO...
2009-09-02 23:06:15 UTC in better string library
-
Ooops! Missed this message somehow.
Anyhow, ssize_t is not a standard defined type. I.e., its not defined for Microsoft, Watcom or Borland C or C++ as far as I know. I wanted to use a type for ->slen which would not increase the number of compiler warnings from truncations and which was signed. Furthermore, its rare to need a string > 32767 in length, so it seemed like an acceptable...
2009-04-24 16:23:00 UTC in better string library
-
As anitzzenna says, it looks like bstrwrap.h is including <string> which you have locally defined. But you claim that you have defined BSTRLIB_CANNOT_USE_STL which should have prevented that from happening. The problem is that the compile like that you show does not show anything like -DBSTRLIB_CANNOT_USE_STL which is how you would set this. Usually in your makefile you have something...
2009-04-24 10:39:41 UTC in better string library
-
websnarf committed patchset 561 of module tree to the better string library CVS repository, changing 1 files.
2008-05-29 16:31:47 UTC in better string library
-
websnarf committed patchset 560 of module tree to the better string library CVS repository, changing 1 files.
2008-04-07 08:36:08 UTC in better string library
-
websnarf committed patchset 559 of module tree to the better string library CVS repository, changing 2 files.
2008-04-07 01:35:30 UTC in better string library
-
websnarf committed patchset 558 of module tree to the better string library CVS repository, changing 7 files.
2008-04-05 09:06:55 UTC in better string library
-
websnarf committed patchset 557 of module tree to the better string library CVS repository, changing 1 files.
2007-12-11 14:00:40 UTC in better string library