mal wrote: > It should be done in such a way that Unicode strings which > only use the lower byte produce the same hash value as > normal 8-bit strings -- is this the case for the above code ? yup. it's the same algorithm as for 8-bit strings, but using larger characters. as long as the high bits are zero, it (obviously) gives the same result. guido: > Good enough for me. I'll interpret that as a "okay, check it in". </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4