Forum
FTP cannot acccess the chinese(utf-8) directory - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Kodi (/forum-18.html)
+--- Thread: FTP cannot acccess the chinese(utf-8) directory (/thread-2153.html)



FTP cannot acccess the chinese(utf-8) directory - grassboy - 4th Mar, 2014 01:20 AM

hello everyone~

I've tried to add an FTP directory as my XBMC file source

some of directories name contains Chinese characters...

but it can only be display in the list

I can not access these directories

I've found that the official XBMC seems like fixed this issue last year

( for detail: https://github.com/xbmc/xbmc/pull/2256 )

Did Xbian fixed this issue too?

or there is another workaround in Xbian?

btw. I didn't have the permission of the FTP...

so, I cannot configure the FTP Server or modify the file/directory name in it...


RE: FTP cannot acccess the chinese(utf-8) directory - IriDium - 4th Mar, 2014 03:00 AM

Xbian RC1 in XMC has locale support for Chinese (China, Hong Kong, Singapore and Taiwan).

Can you provide a screenshot of the problem.

It might be the FTP server is using a different locale to what XBMC uses.

Can you access the FTP server by any other means (Windoze) and see if you get the same problem.


RE: FTP cannot acccess the chinese(utf-8) directory - grassboy - 4th Mar, 2014 03:21 AM

(4th Mar, 2014 03:00 AM)IriDium Wrote:  Xbian RC1 in XMC has locale support for Chinese (China, Hong Kong, Singapore and Taiwan).

Can you provide a screenshot of the problem.

It might be the FTP server is using a different locale to what XBMC uses.

Can you access the FTP server by any other means (Windoze) and see if you get the same problem.

my Xbian version is beta 2, is it newer than RC1?

my XBMC user interface can display Chinese

the language was set to Chinese (Traditional) in appearance setting

but there is no "UTF8" charset that I can choose...

so, I can only set "Chinese Traditional (Big5)"

or I should set the charset someone else?

btw. I can access the FTP site and access the files/directories normally by my desktop FTP Client (FileZilla)


RE: FTP cannot acccess the chinese(utf-8) directory - IriDium - 4th Mar, 2014 03:51 AM

RC1 is the latest release.

Can you provide a screenshot of the problem.

This might be an Xbian issue - can you go into ssh xbian-config and go 2 --> 1 --> 4 --> Select the nearest Chinese locale to you.

Reboot and see if that improves anything.

Other than that I have no idea.


RE: FTP cannot acccess the chinese(utf-8) directory - grassboy - 4th Mar, 2014 04:44 AM

(4th Mar, 2014 03:51 AM)IriDium Wrote:  RC1 is the latest release.

Can you provide a screenshot of the problem.

This might be an Xbian issue - can you go into ssh xbian-config and go 2 --> 1 --> 4 --> Select the nearest Chinese locale to you.

Reboot and see if that improves anything.

Other than that I have no idea.

I've upgrade my XBMC to RC1

However, the problem still exists....

may I ask how to provide you the screenshot?
(I m a newbie in xbian...sorry for this stupid question...)

thanks for your help!!


RE: FTP cannot acccess the chinese(utf-8) directory - grassboy - 4th Mar, 2014 11:08 PM

I've create an FTP Server for testing and try to reproduce the issue...

ftp host: ec2.is.gy

user/password: (none, anonymous login is okay)

you can add this as a video source in XBMC

and you will find three directories

one of them contains Chinese characters

Can anyone access the directory successfully?


RE: FTP cannot acccess the chinese(utf-8) directory - IriDium - 5th Mar, 2014 03:47 AM

Read "Please read before you post" - Which of course you did? Details are there.

To create a screenprint - Just use the PrtScn key and a screenprint will be created.

The problem most of us will have is that we won't have Chinese locales on our Pi's nor will we know what a "Good" output looks like.

EDIT: Just tried to connect to the FTP and nothing is there!!


RE: FTP cannot acccess the chinese(utf-8) directory - grassboy - 5th Mar, 2014 06:40 AM

(5th Mar, 2014 03:47 AM)IriDium Wrote:  Read "Please read before you post" - Which of course you did? Details are there.

To create a screenprint - Just use the PrtScn key and a screenprint will be created.

The problem most of us will have is that we won't have Chinese locales on our Pi's nor will we know what a "Good" output looks like.

EDIT: Just tried to connect to the FTP and nothing is there!!

sorry about that the DNS record seems not fully updated

maybe you can try to connect the ftp host: 54.207.56.103

or just click ftp://54.207.56.103

and there are 3 directories and 1 txt file now

txt file is the error log of my ftp server that XBMC try to open the Chinese directory

the following is some screenshot in my XBMC







from the error log... It seems like the ftp client in XBMC still send the command in big5 charset

and I had tried to change my charset & language into English

the ftp client still send the command in big5 charset either...

or there are some other configuration I should make?

thanks for your help


RE: FTP cannot acccess the chinese(utf-8) directory - IriDium - 6th Mar, 2014 02:39 AM

I still cannot access the FTP drive.

However, FTP is not a suggested protocol for media streaming - can you access it any other way?


RE: FTP cannot acccess the chinese(utf-8) directory - grassboy - 6th Mar, 2014 02:46 AM

(6th Mar, 2014 02:39 AM)IriDium Wrote:  I still cannot access the FTP drive.

However, FTP is not a suggested protocol for media streaming - can you access it any other way?

I've tried to play the video in FTP, ( English filename video)

for a 2.x GV video (.avi file)

It looks fine, and the media streaming is smooth~

so... I wonder know that is there another ways or configuration I can do...

--

btw. is cpc66012-stav13-2-0-cust168.17-3.cable.virginmedia.com your ip address

my ftp log do appear this access log

and my ftp site still work normally now

have you tried to open it in browser?

and I cannot change the FTP site setting of my video source

because it is not my site,

so I cannot access it any other way Sad


RE: FTP cannot acccess the chinese(utf-8) directory - IriDium - 6th Mar, 2014 02:51 AM

I tried and yes that was my IP - I tried with ftp client and browser but without success.

Sorry but I cannot help you any further,


RE: FTP cannot acccess the chinese(utf-8) directory - grassboy - 6th Mar, 2014 02:57 AM

will... thanks for your help anyway~

can anyone else access my ftp site?

it should look like



if you can...

can you add ftp://57.207.56.103 as the video source in XBMC

and access the last directory?


RE: FTP cannot acccess the chinese(utf-8) directory - grassboy - 7th Mar, 2014 01:05 AM

I've tried to upgrade my XBMC to version 13

this issue has been fixed~


RE: FTP cannot acccess the chinese(utf-8) directory - mk01 - 16th Mar, 2014 03:02 PM

You did well.

Gotham has completely rewritten locale support. By default it uses and follow setup & resources from underlaying system.

and UTF-8 is provided as default