-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"AddDefaultCharset utf-8" should be added to main .htaccess file #1012
Comments
THX for the hint! Any idea how to define this in other web servers? |
I'm using an Apache web server and there you can set this parameter in the web server configuration itself (http://httpd.apache.org/docs/2.2/de/mod/core.html) or by setting it via a .htaccess file. |
The default charset for OC is UTF-8 as is should be, and all headers contains |
I've just tested it on a server where the default charset has been set to ISO-8859-1. All headers which were delivered contained Content-Type: text/html; charset=iso-8859-1. |
Hello. I had the same problem using OC in German environment. File scanning produced cutted files / directories in PREFIX_fscache. I eddited three files forcing utf8 encode / decode of files / directories. Is working fine now:
|
Please reopen if this issue has not been fixed in owncloud 5.0 master with the above pullrequest |
@Merowinger please create a pull request to merge this if you want to |
If you install OwnCloud on a server where the default charset is e.g. iso-8859-1 a lot of special characters are not properly displayed because OwnCloud uses utf-8 by default. Adding the option "AddDefaultCharset utf-8" to the main .htaccess file fixes the problem.
The text was updated successfully, but these errors were encountered: