On Mar 27, 6:27 am, mhenriday <[email protected]> wrote:
> FangQ, I have several Chinese-language and Japanese-language folders
> on the HDD under the Images folder on my 64-bit Ubuntu Karmic setup.
> Picasa 3.6 does not crash when loading, nor does it have any problem
> displaying these folders. I don't know if the difference between my
> experience and yours could be due to the fact that in my case, the
> folder titles were assigned using SCIM on Ubuntu, rather than the
> Windows IME....


I totally agree with you that a well-encoded Chinese folder/file name
will be no problem to Picasa. However, as I said in my previous
email, the folder name are encoded in GBK (cp936), thus, these
names are not valid UTF-8 strings (assuming your locale is in UTF-8).

here is something you can test. Run the following command
under the search path of your picasa:

mkdir `echo "照片" | iconv -f utf-8  -t gbk`

it will look like "��Ƭ". Then copy a few photons into this
folder. Launch picasa and see what happen.

let me know if this example is sufficient to illustrate the problem.

(I know GTK uses G_BROKEN_FILENAMES to set up
a fall-back locale when a broken filename is detected, but
not sure if picasa has this mechanism)

>
> Henri
>
> On Mar 26, 2:49 pm, FangQ <[email protected]> wrote:
>
> > after trying different things, I finally figured out the error was due
> > to the presence of a few Chinese named folders.
>
> > The folders was named in GBK (cp936) encoding (which is the default
> > encoding for Chinese for Windows) as was copied from windows
> > partition. I am using zh.CN_UTF-8 locale in Ubuntu, so it shows as
> > garbled text in my file explorer (however, it doesn't crash).
> > Unfortunately, Picasa 3 seems not able to handle this and crash every
> > single time when it starts to scan this folder (and sadly, the scan
> > starts every time).
>
> > This should be easy to duplicate and I wish it can be fixed in the
> > next release (whenever it will be).

-- 
You received this message because you are subscribed to the Google Groups 
"Google-Labs-Picasa-for-Linux" group.
To post to this group, send email to 
[email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-labs-picasa-for-linux?hl=en.

Reply via email to