[DiscordArchive] Or do I change the AliasNext in Stand to the same one that is in Ready1H?
[DiscordArchive] Or do I change the AliasNext in Stand to the same one that is in Ready1H?
Archived author: Rymercyble • Posted: 2022-11-02T10:08:12.369000+00:00
Original source
im actually writing exporter FROM SQL
Archived author: <o> • Posted: 2022-11-02T10:08:32.948000+00:00
Original source
yeah, if you're processing them in the language there are some that don't handle that well, but utf8 is friendly to be treated as a blob
Archived author: stoneharry • Posted: 2022-11-02T10:08:55.115000+00:00
Original source
If you try to construct a native string and then get the length of it or similar, it's likely it will return the wrong number unless you handle it as a utf8 string
Archived author: <o> • Posted: 2022-11-02T10:10:34.402000+00:00
Original source
there's no length processing in dbcs unless you're reading, and for preallocating you just need the byte size
Archived author: <o> • Posted: 2022-11-02T10:11:38.420000+00:00
Original source
but yeah of course, make sure the sql library gives you the correct type
Archived author: stoneharry • Posted: 2022-11-02T10:11:55.341000+00:00
Original source
Who can say what the implementation will actually do
Archived author: Rymercyble • Posted: 2022-11-02T10:12:53.927000+00:00
Original source
i dont fear that my db is all in utf8mb4 unicode_ci and php doesnt need anything special to do to get utf8 string so it just gets string and thats it
Archived author: <o> • Posted: 2022-11-02T10:12:57.573000+00:00
Original source
most mysql libraries should allow you to read strings as binary data instead of the native type, which is probably what you want for dbc strings
Archived author: stoneharry • Posted: 2022-11-02T10:13:36.373000+00:00
Original source
Also pretty sure in C# the byte size of a null terminated string will be wrong unless explicitly using the utf8 methods
Archived author: Titi • Posted: 2022-11-02T10:13:42.620000+00:00
Original source
Make sure the php default isn't ASCII Orr something