Skip to content

Commit 7632889

Browse files
author
Claudius
committed
error message in case php is configured unexpected
1 parent 1d080f5 commit 7632889

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

csv 2 qif/csv2qif.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
<?php
22

3+
if (!function_exists('mb_internal_encoding')) {
4+
echo "please enable mb_internal_encoding in your php.ini. This is needed for utf-8. ";
5+
echo "on windows, this line looks like this: extension=php_mbstring.dll and extension_dir = \"ext\"";
6+
exit(1);
7+
}
8+
39
mb_internal_encoding('UTF-8');
410
echo mb_internal_encoding();
511

0 commit comments

Comments
 (0)