core icon indicating copy to clipboard operation
core copied to clipboard

owncloud 5 problem, words with accents

Open torel2013 opened this issue 13 years ago • 27 comments

Hi all, I'm from Portugal and running owncloud 5.0.12. In my contry, our language use accents in word and got a lot of problems with owncloud. My questions is. there are anyway to by-pass this issue. any configuration details?

Thank you very much Marco

torel2013 avatar Nov 07 '13 19:11 torel2013

anyone can help me with this issue? thank you

torel2013 avatar Nov 07 '13 20:11 torel2013

Could you be more specific? What problems do you face? Le 7 nov. 2013 21:07, "torel2013" [email protected] a écrit :

anyone can help me with this issue? thank you

— Reply to this email directly or view it on GitHubhttps://github.com/owncloud/core/issues/5755#issuecomment-28001375 .

stephane-martin avatar Nov 07 '13 21:11 stephane-martin

@torel2013 Thanks a lot for reporting issues back to us!

We need some more information to properly support you with your issue!

Can I ask you to follow our guidelines for submitting bugs as described here: https://github.com/owncloud/core/blob/master/CONTRIBUTING.md

Thanks a lot!

DeepDiver1975 avatar Nov 07 '13 21:11 DeepDiver1975

Hi dear friends. i will try to be more specific.:

we got on ower language words like , conexão it means in english connection. so when try via http upload some file wiith same simbols like ~ i can't see the it on cloud. hope do u undaerstand . and sorry for my poor english.

so symbols like ç , á , ó etc can't see it in cloud.

thank you very much

torel2013 avatar Nov 07 '13 21:11 torel2013

ownCloud 5.0.12 works with special characters like ç, á, ó. I just tried it and I was able to upload a file called "conexão.txt".

We need more info about your server configuration (PHP, version, etc), client browser, etc. See https://raw.github.com/owncloud/core/master/issue_template.md

PVince81 avatar Nov 08 '13 10:11 PVince81

Hi, i will send all configuration... give me some time. Thank you. But my real problema it's not uploding by browser but yes with the client app.

torel2013 avatar Nov 08 '13 13:11 torel2013

an exemple: if i put direct this file Minuta do Contrato - ADENE-AD-041 - VERSÃO FINAL.doc into data/userdata/files... in the browser i cannot see it. Thank you

torel2013 avatar Nov 08 '13 13:11 torel2013

I also tried with the sync client 1.4.2 and special chars work correctly.

I guess maybe your server is somehow running in another locale ? We'll see that once you post your config about your server and environment.

PVince81 avatar Nov 08 '13 13:11 PVince81

ok my friend, i'll post the server environment early... thanks

torel2013 avatar Nov 08 '13 13:11 torel2013

Ok here's my configuration

Operating system:

Logs

Web server error log

2013-11-08 19:28:40 192.168.123.2 GET /cloud/data/htaccesstest.txt - 444 - 93.108.251.107 - 404 0 2 218
2013-11-08 19:28:40 192.168.123.2 GET /cloud/index.php/settings/admin - 444 - 93.108.251.107 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+InfoPath.3;+.NET4.0C;+.NET4.0E;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729) 200 0 0 1544
2013-11-08 19:28:40 192.168.123.2 GET /cloud/remote.php/core.css v=e36258b3c74f08054a974a5fe1703f9c 444 - 93.108.251.107 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+InfoPath.3;+.NET4.0C;+.NET4.0E;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729) 304 0 0 436
2013-11-08 19:28:40 192.168.123.2 GET /cloud/index.php/apps/files_external/css/settings.css v=e36258b3c74f08054a974a5fe1703f9c 444 - 93.108.251.107 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+InfoPath.3;+.NET4.0C;+.NET4.0E;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729) 304 0 0 436
2013-11-08 19:28:40 192.168.123.2 GET /cloud/index.php/core/js/config.js v=e36258b3c74f08054a974a5fe1703f9c 444 - 93.108.251.107 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+InfoPath.3;+.NET4.0C;+.NET4.0E;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729) 200 0 0 592
2013-11-08 19:28:40 192.168.123.2 GET /cloud/remote.php/core.js v=e36258b3c74f08054a974a5fe1703f9c 444 - 93.108.251.107 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+InfoPath.3;+.NET4.0C;+.NET4.0E;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729) 304 0 0 639
2013-11-08 19:28:41 192.168.123.2 GET /cloud/index.php/core/routes.json - 444 - 93.108.251.107 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+InfoPath.3;+.NET4.0C;+.NET4.0E;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729) 304 0 0 405
2013-11-08 19:28:41 192.168.123.2 POST /cloud/index.php/core/ajax/translations.php - 444 - 93.108.251.107 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+InfoPath.3;+.NET4.0C;+.NET4.0E;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729) 200 0 0 436
2013-11-08 19:28:41 192.168.123.2 GET /cloud/cron.php - 444 - 93.108.251.107 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+InfoPath.3;+.NET4.0C;+.NET4.0E;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729) 200 0 0 468
2013-11-08 19:28:41 192.168.123.2 GET /cloud/index.php/apps/fluxx_compensator/ajax/preference.php key=fluxx-position-H&value=1331 444 - 93.108.251.107 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+InfoPath.3;+.NET4.0C;+.NET4.0E;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729) 200 0 0 405
2013-11-08 19:28:41 192.168.123.2 GET /cloud/index.php/apps/fluxx_compensator/ajax/preference.php key=fluxx-position-N&value=609 444 - 93.108.251.107 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+InfoPath.3;+.NET4.0C;+.NET4.0E;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729) 200 0 0 561
2013-11-08 19:28:41 192.168.123.2 GET /cloud/index.php/apps/fluxx_compensator/css/dynamic-5.css - 444 - 93.108.251.107 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+InfoPath.3;+.NET4.0C;+.NET4.0E;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729) 304 0 0 748
2013-11-08 19:28:42 192.168.123.2 GET /cloud/index.php/apps/fluxx_compensator/ajax/preference.php key=fluxx-status-H&value=shown 444 - 93.108.251.107 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+InfoPath.3;+.NET4.0C;+.NET4.0E;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729) 200 0 0 936
2013-11-08 19:28:42 192.168.123.2 GET /cloud/index.php/apps/fluxx_compensator/ajax/preference.php key=fluxx-status-N&value=shown 444 - 93.108.251.107 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+InfoPath.3;+.NET4.0C;+.NET4.0E;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729) 200 0 0 1092
2013-11-08 19:28:57 192.168.123.2 GET /cloud/index.php/settings/ajax/getlog.php offset=3&count=10 444 - 93.108.251.107 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+InfoPath.3;+.NET4.0C;+.NET4.0E;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729) 200 0 0 234

`

#### ownCloud log (data/owncloud.log)

{"app":"search_lucene","message":"need mimetype for content extraction","level":3,"time":"2013-11-08T19:24:57+00:00"}

{"app":"PHP","message":"SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\\xE7\\xE3o fi...' for column 'logic_path' at row 1 at C:\\inetpub\\wwwroot\\cloud\\lib\\db.php#1075","level":4,"time":"2013-11-08T19:25:06+00:00"}



#### PHP Logs

[07-Nov-2013 19:03:30 UTC] PHP Fatal error:  Call to a member function t() on a non-object in C:\inetpub\wwwroot\cloud\apps\files_mv\ajax\autocompletedir.php on line 48
[07-Nov-2013 19:03:30 UTC] PHP Stack trace:
[07-Nov-2013 19:03:30 UTC] PHP   1. {main}() C:\inetpub\wwwroot\cloud\index.php:0
[07-Nov-2013 19:03:30 UTC] PHP   2. OC::handleRequest() C:\inetpub\wwwroot\cloud\index.php:28
[07-Nov-2013 19:03:30 UTC] PHP   3. OC_Router->match() C:\inetpub\wwwroot\cloud\lib\base.php:629
[07-Nov-2013 19:03:30 UTC] PHP   4. call_user_func() C:\inetpub\wwwroot\cloud\lib\router.php:127
[07-Nov-2013 19:03:30 UTC] PHP   5. OC::loadAppScriptFile() C:\inetpub\wwwroot\cloud\lib\router.php:127
[07-Nov-2013 19:03:30 UTC] PHP   6. require_once() C:\inetpub\wwwroot\cloud\lib\base.php:700

torel2013 avatar Nov 08 '13 19:11 torel2013

i don't use owncloud cliente because this errors , i use a network share for each user /data/users/files and i try to put into admin data files produção final março 2013.xls and got the logs i describe here.

Thank you all for helping.

Marco

torel2013 avatar Nov 08 '13 19:11 torel2013

Ok, based on your looks it appears that you are running your server on Windows. Is it an Apache server ?

I'm not sure whether it will work to put files directly into "data/user1/files" using a network share. Can you confirm @DeepDiver1975 ?

PVince81 avatar Nov 08 '13 19:11 PVince81

if i upload file via browse the file appears correct produção final março 2013.xls but if i go to admin/files the file calls producao-final-marco-2013.xls. I use the network share also because i can't upload via site, a folder with contents , only contents. and with the client app a got many erros. if i try to upload folder with files inside.

thank you hope u understand me.

torel2013 avatar Nov 08 '13 19:11 torel2013

Hi Pvince ,

So it's true the server is Windows 2008 R2 and running in IIS not apache.

look my last post.

Thank you friend

torel2013 avatar Nov 08 '13 19:11 torel2013

Via network share got a blank screen when refreshinhg the browser. so if i chage the file produção final março 2013.xls to producao_final_marco.xls and put on network drive , got no issues. Now i real problem is. My users use special chars because our language. i can't imagine must to change all the files and upload to owncloud. hard stuff. My question is there anyway to by pass this problema. Thank u once again. Marco

torel2013 avatar Nov 08 '13 19:11 torel2013

C:\inetpub\wwwroot\cloud\apps\files_mv\ajax\autocompletedir.php

please disable that app - thx

DeepDiver1975 avatar Nov 08 '13 22:11 DeepDiver1975

Hi Deep but this app i need it move files... About my issue any adea ?

Thank you

torel2013 avatar Nov 09 '13 17:11 torel2013

@torel2013 well the app is broken - you don't need it I guess ;-)

DeepDiver1975 avatar Nov 09 '13 18:11 DeepDiver1975

@ DeepDiver, so i had disable the app . thanks friend. :) Any way to use direct drop files into user directory via network share? I try it and works but when i upload a file with special characters i can't see it , on cloud. Thanks for helping ;)

MArco

torel2013 avatar Nov 10 '13 17:11 torel2013

Sorry @torel2013, but I'm not familiar with Windows IIS server at all. The trouble you're having with encoding could be due to its locale configuration somehow. Also, I've heard that Windows IIS might have compatibility issues when running PHP code.

Are you able to try running ownCloud on Apache 2.2 instead or are you using IIS for other things ?

PVince81 avatar Nov 11 '13 08:11 PVince81