I am having a string 'Montaño' and I am using it as key in java Map. But when I am trying to retrieve value for this key. It gives null.
Any Idea what is wrong here?
EDITED : The value that I am getting from DB is shown in the logs Monta�o and is used as Key. But when I am reading the same name from some other parameters ( that also displays name from db ) it shows as Montaño. I am sure of this thing that '�' is ñ. So, what should I do before setting it as key in map. So that I can retrieve the value properly