Hi Aren,
Ok, here's what we get...
If the up arrow is pressed, we get Unicode character U+700, which in UTF-16 (decimal), is 63,232.
If the down arrow is pressed, we get Unicode character U+701, which in UTF-16 (decimal), is 63,233.
If the left arrow is pressed, we get Unicode character U+702, which in UTF-16 (decimal), is 63,234.
If the right arrow is pressed, we get Unicode character U+703, which in UTF-16 (decimal), is 63,235.
So ideally, we would ignore all of these for input and use them only for moving the cursor. On the Mac, the standard is that pressing the up arrow key should put the cursor in front (to the left) of the first character, pressing the down arrow key should put the cursor behind (to the right) of the last character, pressing the left arrow key would move the cursor one position to the left and pressing the right arrow key would move the cursor one position to the right.