| ▲ | beart 8 hours ago | |
How do you safely convert a 2 byte character to a 1 byte character? | ||
| ▲ | jiggawatts 8 hours ago | parent [-] | |
Easily! If it doesn't convert successfully because it includes characters outside of the range of the target codepage then the equality condition is necessarily false, and the engine should short-circuit and return an empty set. | ||