diff options
-rw-r--r-- | camlibs/jd11/jd11.html | 6 | ||||
-rw-r--r-- | packaging/generic/print-camera-list.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/camlibs/jd11/jd11.html b/camlibs/jd11/jd11.html index e3f5bf380..00e0f6a39 100644 --- a/camlibs/jd11/jd11.html +++ b/camlibs/jd11/jd11.html @@ -1,7 +1,7 @@ <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="GENERATOR" content="Mozilla/4.61C-CCK-MCD Caldera Systems OpenLinux [en] (X11; I; Linux 2.2.14 i586) [Netscape]"> <meta name="license" content="GPL v2"> <title>Reverse Engineering the JD11 (JenCam 11) </title> @@ -125,7 +125,7 @@ character. <td> The packetreader. It is called in a loop after querying the imagesize. If 201 bytes are read, the 201th byte is the checksum - (sum of 0-199)&0xff, otherwise there is no checksum.<br> + (sum of 0-199)&0xff, otherwise there is no checksum.<br> Returns the 200 bytes read. </td> </tr> @@ -297,7 +297,7 @@ Both give pretty grayscale pictures, but are not yet in color. The high quality format uses a very different compression.<p> It just compacts all 8bit values to 6bit by shortening out the 2 least significant bits. -So we just restore them (AAAA AABB BBBB CCCC CCDD DDDD -> AAAAAA00, BBBBBB00, +So we just restore them (AAAA AABB BBBB CCCC CCDD DDDD -> AAAAAA00, BBBBBB00, CCCCCC00, DDDDDD00) and get the same grayscale images as with the lowquality compression. diff --git a/packaging/generic/print-camera-list.c b/packaging/generic/print-camera-list.c index 744da1f84..b5f3f7ff3 100644 --- a/packaging/generic/print-camera-list.c +++ b/packaging/generic/print-camera-list.c @@ -848,7 +848,7 @@ empty_end_func (const func_params_t *params, void *data) static int fdi_begin_func (const func_params_t *params, void **data) { - printf("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?> <!-- -*- SGML -*- -->\n"); + printf("<?xml version=\"1.0\" encoding=\"UTF-8\"?> <!-- -*- SGML -*- -->\n"); printf("<!-- This file was generated by %s - - fdi -->\n", "libgphoto2 " ARGV0); print_version_comment(stdout, " | ", "\n", "<!--+\n", " +-->\n"); @@ -980,7 +980,7 @@ fdi_end_func (const func_params_t *params, void *data) static int fdi_device_begin_func (const func_params_t *params, void **data) { - printf("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?> <!-- -*- SGML -*- -->\n"); + printf("<?xml version=\"1.0\" encoding=\"UTF-8\"?> <!-- -*- SGML -*- -->\n"); printf("<!-- This file was generated by %s - - fdi-device -->\n", "libgphoto2 " ARGV0); print_version_comment(stdout, " | ", "\n", "<!--+\n", " +-->\n"); |