跳到主要內容

發表文章

目前顯示的是 十一月, 2010的文章

Check Java Binary Version

檢視Java Binary File編譯版本

方法一: >javap -verbose Employee Compiled from "Employee.java" public class test.Employee extends java.lang.Object   SourceFile: "Employee.java"   minor version: 0 major version: 50   Constant pool: .....

方法二: 使用文字工具開啟class檔案,檢視前面的binary code javac -target 1.1 ==> CA FE BA BE 00 03 00 2D
javac -target 1.2 ==> CA FE BA BE 00 00 00 2E
javac -target 1.3 ==> CA FE BA BE 00 00 00 2F
javac -target 1.4 ==> CA FE BA BE 00 00 00 30 看起來新版本就往下推最後一碼了... :P

HTML特殊字元替換

CharacterEntityDecimalHexRendering in Your BrowserEntityDecimalHexquotation mark = APL quote&quot;&#34;&#x22;"""ampersand&amp;&#38;&#x26;&&&less-than sign&lt;&#60;&#x3C;<<<greater-than sign&gt;&#62;&#x3E;>>>Latin capital ligature OE&OElig;&#338;&#x152;ŒŒŒLatin small ligature oe&oelig;&#339;&#x153;œœœLatin capital letter S with caron&Scaron;&#352;&#x160;ŠŠŠLatin small letter s with caron&scaron;&#353;&#x161;šššLatin capital letter Y with diaeresis&Yuml;&#376;&#x178;ŸŸŸmodifier letter circumflex accent&circ;&#710;&#x2C6;ˆˆˆsmall tilde&tilde;&#732;&#x2DC;˜˜˜en space&ensp;&#8194;&#x2002;em space&emsp;&#8195;&#x2003;thin space&thinsp;&#8201;&#x2009;zero width non-joiner&zwnj;&#8204;&#x200C;‌‌‌zero width joiner&zwj;&#8205;&#x200D;‍‍‍left-to-right mark&lr…