Commit Graph

3 Commits

Author SHA1 Message Date
Khairul Azhar Kasmiran
a1f893e58c
Support UTF16-BE decoding (#15450)
* Support UTF16-BE decoding

* Add spaces
2019-11-14 00:08:37 +08:00
Khairul Azhar Kasmiran
01d5dfe306 Fix rafind2 -S for UTF8 chars > U+00ff (#12866)
* Fix rafind2 -S for UTF8 chars > U+00ff

* Use '< 1' instead of '== 0'

* Remove unnecessary else

* Add a 0
2019-01-22 09:43:10 +01:00
Khairul Azhar Kasmiran
0ff6f4313d asm.strenc (utf16le) (#7926)
* Fix API of r_utf16le_decode to be consistent with r_utf8_decode

* Fix braces and else-after-return

* Don't use r_mem_mem

* Fix bogus last char at max string length
2017-07-16 08:12:11 +02:00