[Pkg-wmaker-commits] [wmcoincoin] 73/87: TSV backends are always UTF-8

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Aug 28 17:27:43 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmcoincoin.

commit 01a8fb00e9dfeac64ca5411da11ad060d9f42aa6
Author: SeeSchloss <mvalleton at noparking.net>
Date:   Wed Apr 8 14:38:47 2015 +0200

    TSV backends are always UTF-8
---
 src/board.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/board.c b/src/board.c
index 697fbe5..cb56dd1 100644
--- a/src/board.c
+++ b/src/board.c
@@ -2125,6 +2125,8 @@ regular_board_update(Board *board, char *path) {
 
   if (r.content_type && strncmp(r.content_type, "text/tab-separated-values", 25) == 0) {
     fprintf(stderr, "parsing backend %s\n", r.content_type);
+      board->encoding = strdup("UTF-8");
+	  /* le standard impose l'UTF-8 pour les backends TSV */
 	  return regular_board_update_tsv(board, &r);
   } else {
 	  return regular_board_update_xml(board, &r);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmcoincoin.git



More information about the Pkg-wmaker-commits mailing list