I am reading a simple csv and putting the values into a map with using nio and a stream.
Looking at the debugger all of the values are in the map.
The odd thing is that the first value at the top of the file is in the map but it returns false for containsKey.
If I add an empty line at the top it returns true.
This return false for 김:
This return true for 김:
What is going on here? I was thinking maybe there's some control character at the beginning of the file but there isn't.
If I put a different line there, the problem will happen with that value.
I can add the line but that seems hacky.