Skip to content

Commit

Permalink
utf8 translitteration
Browse files Browse the repository at this point in the history
  • Loading branch information
trippo committed Mar 19, 2015
1 parent 521ae24 commit d4685de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Responsive Filemanager Changelog
- added file selection directly from dropzone upload area (you can now select file directly after upload)
- folder selection in context menu (you can now select also a folder)
- responsive filemanager modal open on tinyMCE (the dimension of modal depend on window dimension)
- utf8 translitteration fix

*********************************************************
* RFM 9.9.1
Expand Down
2 changes: 1 addition & 1 deletion filemanager/include/utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ function fix_filename($str, $transliteration, $convert_spaces = false, $replace_
{
if (function_exists('transliterator_transliterate'))
{
$str = transliterator_transliterate('Accents-Any', $str);
$str = transliterator_transliterate('Accents-Any', utf8_encode($str));
}
else
{
Expand Down

0 comments on commit d4685de

Please sign in to comment.