-
I’ve just written this function:
```rust
fn decode_to_utf16(bytes: &[u8], encoding: &'static Encoding) -> Vec {
let mut decoder = encoding.new_decoder();
let capacity = decoder.max_utf16…
-
```
What steps will reproduce the problem?
1. Compressing a mix of UTF-8/UTF-16 encoding XML files using same command line
2. Command Line "java -jar htmlcompressor-1.5.3.jar -o ..jobSearch.xml
..job…
-
```
What steps will reproduce the problem?
1. Compressing a mix of UTF-8/UTF-16 encoding XML files using same command line
2. Command Line "java -jar htmlcompressor-1.5.3.jar -o ..jobSearch.xml
..job…
-
```
What steps will reproduce the problem?
1. Compressing a mix of UTF-8/UTF-16 encoding XML files using same command line
2. Command Line "java -jar htmlcompressor-1.5.3.jar -o ..jobSearch.xml
..job…
-
When I pass `§` to the library, it returns UTF16 encoding which is not correct.
-
```gleam
let name = "marimota"
let padded_name =
bit_array.slice(
bit_array.append(, bit_array_copy(, 22)),
0,
44,
)
```
produces erlang
```erlang
Name@1 =…
-
**Describe the bug**
The example string "Borland" from https://yara.readthedocs.io/en/v4.2.3/writingrules.html#wide-character-strings is there encoded as `B\x00o\x00r\x00l\x00a\x00n\x00d\x00` but tha…
-
There seems to be some issue in decompressFromUTF16.. the following code does not work. Is there something wrong?
chk_str = "Test String"
compressed = x.compressToUTF16(chk_str)
print(compressed)…
-
# Background
UTF-8 encoding on any character can take up to 4 bytes (`u8`). UTF-16 encoding can take up to 2 words (`u16`). This is a promise from the encoding specs, and an assumption made in many pl…
-
**Describe the bug**
The below steps say it all.
**To Reproduce**
1. Visit https://en.wikipedia.org/wiki/%C4%B0 often enough, so that it appears as a suggestion in the address bar when you only p…