String Length | ASCII (bytes) | UTF-8 (bytes) | UTF-16 (bytes) | UTF-32 (bytes) |
---|---|---|---|---|
10 | 10 | 10 | 20 | 40 |
50 | 50 | 50 | 100 | 200 |
100 | 100 | 100 | 200 | 400 |
500 | 500 | 500 | 1000 | 2000 |
1000 | 1000 | 1000 | 2000 | 4000 |
String Length | ASCII (bytes) | UTF-8 (bytes) | UTF-16 (bytes) | UTF-32 (bytes) |
---|---|---|---|---|
10 | 10 | 10 | 20 | 40 |
50 | 50 | 50 | 100 | 200 |
100 | 100 | 100 | 200 | 400 |
500 | 500 | 500 | 1000 | 2000 |
1000 | 1000 | 1000 | 2000 | 4000 |