diff --git a/.gitignore b/.gitignore index ac58f3e6a6..e2ff07d14d 100644 --- a/.gitignore +++ b/.gitignore @@ -40,6 +40,9 @@ nbproject # Cloud9IDE .settings.xml +# vim ex mode +.vimrc + # Mac OS .DS_Store diff --git a/apps/bookmarks/appinfo/database.xml b/apps/bookmarks/appinfo/database.xml index f2fc68e4b5..b03c1fb2c8 100644 --- a/apps/bookmarks/appinfo/database.xml +++ b/apps/bookmarks/appinfo/database.xml @@ -3,7 +3,7 @@ *dbname* true false - latin1 + utf8 *dbprefix*bookmarks diff --git a/apps/contacts/lib/vcard.php b/apps/contacts/lib/vcard.php index 168e8af3e5..71a874d783 100644 --- a/apps/contacts/lib/vcard.php +++ b/apps/contacts/lib/vcard.php @@ -131,7 +131,7 @@ class OC_Contacts_VCard{ foreach($property->parameters as $key=>&$parameter){ if(strtoupper($parameter->name) == 'ENCODING') { if(strtoupper($parameter->value) == 'QUOTED-PRINTABLE') { // what kind of other encodings could be used? - $property->value = str_replace("\r\n", "\n", mb_convert_encoding(quoted_printable_decode($property->value), 'utf-8', 'auto')); + $property->value = quoted_printable_decode($property->value); unset($property->parameters[$key]); } } elseif(strtoupper($parameter->name) == 'CHARSET') { @@ -188,6 +188,7 @@ class OC_Contacts_VCard{ if($upgrade && in_array($property->name, $stringprops)) { self::decodeProperty($property); } + $property->value = str_replace("\r\n", "\n", iconv(mb_detect_encoding($property->value, 'UTF-8, ISO-8859-1'), 'utf-8', $property->value)); if(in_array($property->name, $stringprops)) { $property->value = strip_tags($property->value); } diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 0c672cd670..7414c1f339 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -71,7 +71,7 @@ FileActions={ } var html=''; + html += t('files', name) +''; var element=$(html); element.data('action',name); element.click(function(event){ @@ -91,7 +91,7 @@ FileActions={ if(img.call){ img=img(file); } - var html='
- ●●●●●●● - set new password + ●●●●●●● set new password - + - - +
+ +
- - Delete - + Delete