-
The only way to write a `Char` or `String`'s UTF-16 code units to an _unencoded_ `IO::Memory` is to call `String#to_utf16` first, which produces a `Slice(UInt16)`, then write the whole `Slice` via `#t…
-
向 varchar字段保存中文中会被截断。
测试发现。文件param.go绑定strinig时。size取的是转为UTF16后的长度。
但一个中文在UTF8时占用3个字节。size应该取UTF8的长度。
这样才可以保证向varchar字段保存中文时不会被截断。
dotqi updated
3 weeks ago
-
I found this syntax project very interesting. But there are registers and instructions like AVX, which just aren't in that syntax, plus macros like \__?utf16?__
AVX register: https://en.wikipedia.o…
-
In trying to fix [#47404](https://github.com/JuliaLang/julia/pull/47404), we noticed that it's really hard to read UTF16 data from files. Long ago there used to be `utf16()` and `utf32()` functions to…
-
I'm trying to build this on Fedora Linux and getting the following errors:
```
[ 42%] Building C object CMakeFiles/btrfs.dir/src/zlib/trees.c.o
/usr/bin/gcc -I/usr/include/efi -I/usr/include/efi…
-
Running veraPDF CLI with a sourcefilename including "German Umlaut" results in an error. (Windows11 , VerPDF-Version: 1.26.2)
What is the encoding for filenames ? We try ANSI, UTF8, UTF16 and ASCII…
-
### Description
```
/usr/bin/ld: dynamic STT_GNU_IFUNC symbol `mb_utf16be_to_wchar' with pointer equality in `ext/mbstring/libmbfl/filters/mbfilter_utf16.o' can not be used when making an executable…
-
In general we can have functions that take encode/decode as arguments. These can then be reused to implement Utf8/Utf16/Utf32 text types. If we supply compress/decompress in these APIs that will allow…
-
`dhall-lsp-server` is showing a build failure related to this:
```
src/Dhall/LSP/Handlers.hs:94:60: error:
• Couldn't match expected type ‘Rope.Rope’
with actual type ‘text…
-
Hi again once more,
One more (small) problem I've encountered in my complex document (which I also cannot reproduce in a simpler one) is that the suggestion span is off by one character:
![image…