Hi Allessandro,
It should be possible to port the work for adding wide character
filename support under WIndows but... it's a huge submission and
wouldn't be something that I would recommend. It'll require lots of
changes to core osgDB as well as almost all of the plugins. Once
you've applied these changes it basically isn't OSG-2.2.
OpenSceneGraph-2.7.x and svn/trunk is essentially the same scene graph
API as in OSG-2.2, the main changes you'll see are feature additions
and bug fixes, and an occasional tweak of an API where something was
misspelled, causing bugs or was restricting functionality. Porting
from OSG-2.2 to 2.7.x should be pretty straight forward.
If you really must stick to OSG-2.2 please just stick to ascii based filenames.
Robert.
On Sun, Nov 16, 2008 at 11:58 AM, alessandro terenzi
<[EMAIL PROTECTED]> wrote:
> Thanks Robert, I'll have a look.
>
> By the way, do you think that it will require just a little time to add that
> support to osg 2.2.0?
> Unfortunately I must still use osg 2.2.0 for a project, so I must consider
> adding that support by myself, if it is feasible.
>
> Regards.
> Alessandro
> On Sun, Nov 16, 2008 at 12:48 PM, Robert Osfield <[EMAIL PROTECTED]>
> wrote:
>>
>> Hi Alessandro,
>>
>> I could be you are falling foul of lack of wide character filenames
>> under Windows. Support for this has only just been added in the last
>> week to of the OSG svn/trunk.
>>
>> Robert.
>>
>> On Sat, Nov 15, 2008 at 7:38 PM, alessandro terenzi <[EMAIL PROTECTED]>
>> wrote:
>> > Using osg2.2.0 I noticed that reading parameters for my application was
>> > not
>> > successful because some character are not read as expected. For
>> > instance, if
>> > in my code there are the following instructions:
>> >
>> > osg::ArgumentParser arguments(&argc, argv);
>> >
>> > std::string model_file =
>> >
>> > "";
>> >
>> > while(arguments.read("-model", model_file));
>> >
>> > If i call my application as follows:
>> >
>> > myapp -model città .ive
>> >
>> > model file will store 'cittò.ive'.
>> >
>> > I couldn't try it with osg2.6.0 and I just tryed it on Windows Vista
>> > with
>> > osg prebuilt binaries.
>> >
>> > Regards.
>> >
>> > Alessandro
>> >
>> > _______________________________________________
>> > osg-users mailing list
>> > [email protected]
>> >
>> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>> >
>> >
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org