Revision: 4381 http://vexi.svn.sourceforge.net/vexi/?rev=4381&view=rev Author: mkpg2 Date: 2012-04-26 09:33:42 +0000 (Thu, 26 Apr 2012) Log Message: ----------- Fix. Specify infinity using escape sequence to avoid encoding issues.
Modified Paths: -------------- trunk/org.vexi-library.js/src/main/java/org/ibex/js/JSNumber.java Modified: trunk/org.vexi-library.js/src/main/java/org/ibex/js/JSNumber.java =================================================================== --- trunk/org.vexi-library.js/src/main/java/org/ibex/js/JSNumber.java 2012-04-18 03:46:26 UTC (rev 4380) +++ trunk/org.vexi-library.js/src/main/java/org/ibex/js/JSNumber.java 2012-04-26 09:33:42 UTC (rev 4381) @@ -119,9 +119,9 @@ double d = ((D)this).d; if(Double.isInfinite(d)){ if(d>0){ - return JSU.S("\xB0"); + return JSU.S("\u221E"); }else{ - return JSU.S("-\xB0"); + return JSU.S("-\u221E"); } }else if(Double.isNaN(d)){ return JSU.S("NaN"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn