quote:
Originally posted by GNSPS
it's ok... I really wanted to get the unicode string divided into bytes for memory patching... But now I realised that the function splitting is working, what's not working is the 'for' loop... Strange... XD
I suspect the "for" loop is working fine.
Since all the character codes of the English and Western European alphabets, digits and punctuation are below 255, the behavior you describe -- the bitwise "and" producing a value equal to the character code and the shift producing a zero -- is exactly what I'd expect.
If you are expecting some other result and still need help with it, please describe what it should be.