From 9944d53058b6d7cd585def66375d06d4443cf448 Mon Sep 17 00:00:00 2001 From: Worros Date: Mon, 21 Mar 2011 11:17:26 +0800 Subject: [PATCH] Win2day: Accept accentuated characters in the tables names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch from Mathieu Pagé --- pyfpdb/Win2dayToFpdb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyfpdb/Win2dayToFpdb.py b/pyfpdb/Win2dayToFpdb.py index 63e36dd7..d3d587c0 100755 --- a/pyfpdb/Win2dayToFpdb.py +++ b/pyfpdb/Win2dayToFpdb.py @@ -31,14 +31,14 @@ class Win2day(HandHistoryConverter): sitename = "Win2day" filetype = "text" - codepage = "cp1252" + codepage = "utf-8" siteID = 4 # Static regexes # #'^$' - re_GameInfo = re.compile('^', re.MULTILINE) + re_GameInfo = re.compile('', re.MULTILINE) re_SplitHands = re.compile('') re_HandInfo = re.compile("^Table \'(?P[- a-zA-Z]+)\'(?P.+?$)?", re.MULTILINE) re_Button = re.compile('\n\n\n