提交 4d4450ec authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 0243e2d8
...@@ -1773,6 +1773,8 @@ create a single quote inside a string. ...@@ -1773,6 +1773,8 @@ create a single quote inside a string.
factor [ { { + | - } factor } [...] ] factor [ { { + | - } factor } [...] ]
"," ","
A value or a numeric sum. A value or a numeric sum.
Please note the text concatenation operator is ||.
"," ","
ID + 20 ID + 20
" "
......
...@@ -18,7 +18,9 @@ Change Log ...@@ -18,7 +18,9 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>The BOM (the byte-order-mark) character 0xfeff at the beginning of the file is ignored. <ul><li>The source code is now switched to Java 6 (JDK 1.6) by default.
Java 5 (JDK 1.5) is still supported, and the jar file is still compiled for Java 5.
</li><li>The BOM (the byte-order-mark) character 0xfeff at the beginning of the file is ignored.
This is for compatibility with Microsoft Excel. This is for compatibility with Microsoft Excel.
</li><li>When opening an existing database, the cache size is set to at most </li><li>When opening an existing database, the cache size is set to at most
half the amount of memory available for the virtual machine half the amount of memory available for the virtual machine
......
...@@ -471,8 +471,8 @@ See also <a href="build.html#providing_patches">Providing Patches</a>. ...@@ -471,8 +471,8 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>Fix the disk space leak (killing the process at the exact right moment will increase </li><li>Fix the disk space leak (killing the process at the exact right moment will increase
the disk space usage; this space is not re-used). See TestDiskSpaceLeak.java the disk space usage; this space is not re-used). See TestDiskSpaceLeak.java
</li><li>ROWNUM: Oracle compatibility when used within a subquery. Issue 198. </li><li>ROWNUM: Oracle compatibility when used within a subquery. Issue 198.
</li><li>Allow to access the database over HTTP (possibly using port 80) and a servlet (tunnel) in a "REST-ful" way. </li><li>Allow to access the database over HTTP (possibly using port 80) and a servlet in a REST way.
</li><li>CSV tool: support UTF-8 marker ("BOF") (files starting with the byte sequence EF BB BF). </li><li>CSV tool: support UTF-8 marker ("BOM") (files starting with the byte sequence EF BB BF).
See also http://en.wikipedia.org/wiki/Byte_order_mark#cite_note-utf-8-bom-3 See also http://en.wikipedia.org/wiki/Byte_order_mark#cite_note-utf-8-bom-3
</li></ul> </li></ul>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -67,7 +67,7 @@ public class TestCsv extends TestBase { ...@@ -67,7 +67,7 @@ public class TestCsv extends TestBase {
private void testPseudoBom() throws Exception { private void testPseudoBom() throws Exception {
ByteArrayOutputStream out = new ByteArrayOutputStream(); ByteArrayOutputStream out = new ByteArrayOutputStream();
// UTF-8 "BOM" / marker // UTF-8 "BOM" / marker
out.write(Utils.convertStringToBytes("efbbbf")); out.write(Utils.convertStringToBytes("ef" + "bb" + "bf"));
out.write("\"ID\", \"NAME\"\n1, Hello".getBytes("UTF-8")); out.write("\"ID\", \"NAME\"\n1, Hello".getBytes("UTF-8"));
byte[] buff = out.toByteArray(); byte[] buff = out.toByteArray();
Reader r = new InputStreamReader(new ByteArrayInputStream(buff), "UTF-8"); Reader r = new InputStreamReader(new ByteArrayInputStream(buff), "UTF-8");
......
...@@ -644,4 +644,4 @@ pulakka pagination collide visual aejaks simulation joonas finland minneapolis ...@@ -644,4 +644,4 @@ pulakka pagination collide visual aejaks simulation joonas finland minneapolis
determine timestampdiff harmony doap shortdesc wireless iceland sigurdsson determine timestampdiff harmony doap shortdesc wireless iceland sigurdsson
darri chunks bjorn chunked watson regardless usefulinc represented pushd darri chunks bjorn chunked watson regardless usefulinc represented pushd
recorder grajciar recording slovensky uninitialized arriving lubomir unchanged recorder grajciar recording slovensky uninitialized arriving lubomir unchanged
erik dick calculations lutin erik dick calculations lutin cite bom evaluating telegard excel bbs
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论