Search code examples
eclipseubuntuhttpsgitlabgit-clone

Eclipse GitLab clone problem "Malformed input or unmappable characters"


When I try to clone my GitLab repo from within Eclipse (2019-09, Kubuntu 21.04) via https://gitlab.com/gerib/userscripts.git I get:

Eclipse Git clone problem

The only "abnormal" characters I see in the mentioned script are JS string delimiter backticks.

git clone https://gitlab.com/gerib/userscripts.git in Konsole works.


Solution

  • I found what's the problem after importing the project into Eclipse and recognizing that the files in the /stackexchange folder are not shown in the Project Explorer view. In the Git Repositories view → Working Tree they are shown as:

    "wrong" filename characters

    This is bad since I just used the Unicode Dash "–" (U+2013 , Win: Alt+0150, X11: AltGr+-, HTML: –).

    Dolphin shows the filenames properly.

    An ls in Konsole shows them as:

    'StackExchange '$'\342\200\223'' Expand Hidden Comments.user.js'
    'StackExchange '$'\342\200\223'' Tweak UI.user.js'
    

    Well, Unicode 1.0.0 was only published recently in 1991...