andrewhwood / alembic

Automatically exported from code.google.com/p/alembic
Other
0 stars 0 forks source link

no unicode characters in filenames possible #280

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to create CreateArchiveWithInfo() with non ASCI characters in the 
filename. Maybe the std::string filename parameter could be changed to a String 
class where a UTF-8 encoded string can be passed?

What is the expected output? What do you see instead?
- No archive will be created, an exception will be trown.

What version of the product are you using? On what operating system?
- Latest Alembic Version 1.0.5 on Windows7 64/32bit and OSX >10.6.

Please provide any additional information below.
- We need to load and save abc files from locations where the filepath contains 
unicode characters.

Original issue reported on code.google.com by justcomp...@googlemail.com on 27 Apr 2012 at 6:36

GoogleCodeExporter commented 9 years ago

Original comment by miller.lucas on 27 Apr 2012 at 6:43

GoogleCodeExporter commented 9 years ago

Original comment by miller.lucas on 16 Jun 2012 at 12:43

GoogleCodeExporter commented 9 years ago
After a little research it turns out that UTF-8 encoding in a std::string IS 
possible.

Using HDF5 1.8.9 and this commit:
http://code.google.com/r/millerlucas-dev/source/detail?r=8f6106ace33853ffd72ae76
359618c606d73347c

I'm able to read and write UTF8 files on OSX 10.6.8 in Maya.

This checkin did not change the library, only support of UTF8 encoded filenames 
in the Maya plugins.

Original comment by miller.lucas on 7 Jul 2012 at 6:18

GoogleCodeExporter commented 9 years ago

Original comment by miller.lucas on 7 Jul 2012 at 6:18

GoogleCodeExporter commented 9 years ago
Fixed in the new released 1.1

Original comment by miller.lucas on 2 Aug 2012 at 11:11