summaryrefslogtreecommitdiff
path: root/import.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-04-25 10:58:56 +0000
committerfisharebest <fisharebest@gmail.com>2010-04-25 10:58:56 +0000
commit899b062768c77449399a6c740370c53f69ca52a5 (patch)
tree0ba33507cd7c181d3190ee87eb022342cc045aaa /import.php
parentf1f3a09f9b8f7dc1739fbc81f598e5db2c10baa2 (diff)
downloadwebtrees-899b062768c77449399a6c740370c53f69ca52a5.tar.gz
webtrees-899b062768c77449399a6c740370c53f69ca52a5.tar.bz2
webtrees-899b062768c77449399a6c740370c53f69ca52a5.zip
Add support for "MS-DOS" encoding (assume CP850)
Diffstat (limited to 'import.php')
-rw-r--r--import.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/import.php b/import.php
index 32f440a485..0478eda16c 100644
--- a/import.php
+++ b/import.php
@@ -137,7 +137,8 @@ for ($end_time=microtime(true)+1.0; microtime(true)<$end_time; ) {
" WHERE gedcom_id=?"
)->execute(array($gedcom_id));
break;
- case 'IBMPC': // IBMPC could be anything. Mostly it means CP850.
+ case 'IBMPC': // IBMPC and MS_DOS could be anything. Mostly it means CP850.
+ case 'MS-DOS':
case 'CP437':
case 'CP850':
// CP850 has extra letters with diacritics to replace box-drawing chars in CP437.