Skip to content

Encoding - first letter - owncloud 4.5.5 #1123

Closed

Description

@xnosek00

owncloud 4.5.5
locales: utf8

Owncloud - web interface doesn't show the first letter of folders or files. It happening when the first letter is with diacritics (for example: Š ť ž ý etc.)

The name of my folder on my source disk is (correct): Šaěšz
The name of my folder on web interface owncloud is (incorrect): aěšz
The name of my folder on destination disk (/var/www/owncloud/data) is (correct): Šaěšz

It seems, that problem is only in web interface. And problem is only with first letter. Other letters are correct despite diacritics.

Next error is with syncing. I think, that is related to this problem. I'm using mirall and I have this error:

opendir failed for owncloud://10.112.234.2/owncloud/remote.php/webdav/clientsync/aěšz - (errno 2)

The correct name of the folder is Šaěšz.

This bug makes owncloud impossible to use in locales.

Activity

  1. DeepDiver1975 commented on Jan 8, 2013

    @DeepDiver1975
    Contributor

    Please make sure the locale en_US.UTF-8 is installed.
    A notice within the admin section should tell you about this as well.
    THX

  2. xnosek00 commented on Jan 8, 2013

    @xnosek00
    Author

    Thank you, my fault.

    I have installed locales en_US.UTF-8 now and it seems, that everything is ok.

  3. RandolfCarter commented on Jan 10, 2013

    @RandolfCarter
    Contributor

    A notice within the admin section should tell you about this as well.

    Wouldn't it be even better if this were checked during installation already?

  4. DeepDiver1975 commented on Jan 10, 2013

    @DeepDiver1975
    Contributor

    @RandolfCarter I fully agree - because meanwhile we know that this is the real fix! ;-)
    Some weeks ago we were not that sure if we really need it to be a hard requirement.
    @karlitschek ping! ;-)

  5. LukasReschke commented on Jan 20, 2013

    @LukasReschke
    Contributor

    Reopened since their should be a warning displayed in the installer and we got several bug reports about this.

  6. landure commented on Jan 30, 2013

    @landure

    may be the lib/base.php and 3rdparty/smb4php/smb.php should detect if the current LC_ALL value has UTF-8 support and leave it alone if it is the case ? It is actually forcing en_US.UTF-8 even if current system locale is an UTF-8 one.

  7. FilipSvoboda commented on Feb 11, 2013

    @FilipSvoboda

    After generating en_US.UTF-8 locale I also had to regenerate (truncate) table oc_fscache

  8. DeepDiver1975 commented on Feb 11, 2013

    @DeepDiver1975
    Contributor

    @karlitschek UTF8 test as pre installation check? Would help a lot from my point of view.

  9. karlitschek commented on Feb 12, 2013

    @karlitschek
    Contributor

    @DeepDiver1975 Would you do his only on Windows or on Linux too? Is a warning on he Admin page perhaps enough? I have no idea how many users we lock out with making this a hard requirement. What do you think?

  10. DeepDiver1975 commented on Feb 12, 2013

    @DeepDiver1975
    Contributor

    This would be a non-windows pre-installation check.
    We have the warning in the admin section live since 4.5.? (I don't remember the exact patch)
    The past weeks have shown that

    • installing the correct locale solves all issues of this kind
    • people don't look at the admin section or ignore the warning we write there 👿

    It might be a hard requirement but without we will screw file names.

    This might me another case of pre-installation warning as we discussed regarding curl.

  11. karlitschek commented on Feb 12, 2013

    @karlitschek
    Contributor

    O.K. Agreed. Let's do this for the 5 alpha release and see how many people complain. :-)

  12. LukasReschke commented on Feb 19, 2013

    @LukasReschke
    Contributor

    @karlitschek Has this been added to the upgrade/install check?

  13. karlitschek commented on Feb 19, 2013

    @karlitschek
    Contributor

    Not sure. @DeepDiver1975 Do you know?

  14. DeepDiver1975 commented on Feb 19, 2013

    @DeepDiver1975
    Contributor

    Not yet - I'll try to add this until the end of the week.

  15. locked as resolved and limited conversation to collaborators on Aug 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions