Unicode comparison

Given the following:

var str1:String="\u002c";
var str2:String=",";

trace(str1==str2);
//traces true

Both str1 and str2 are both referring to the same character so when u compare them they are equal. However one is in Unicode format and the other is not, so in that respect they are not equal inputs. What i need is for this comparison to read false. So does anyone know of a way to detect if an input is in Unicode format verses not?