Re: [osg-users] Chinese character problem in PagedLod
Hi Simba, What OSG version and platform are you using? Robert. On Fri, Dec 19, 2008 at 1:38 PM, Simba forrestg...@126.com wrote: Hi all, I found that if filenames in pagedlod node contain Chinese character, osg will not be able to load file correctly, have anyone met this before? Even if I use setlocale(LC_ALL,chs), it will still not do. Help... This is one of my pagedlod node: PagedLOD { nodeMask 0x cullingActive TRUE Radius 100 RangeMode DISTANCE_FROM_EYE_POINT RangeList 1 { 0 3000 } NumChildrenThatCannotBeExpired 0 FileNameList 1 { a-暨济春天园-01.ive } num_children 0 } 网易免费邮,全球最大的中文免费邮箱 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Chinese character problem in PagedLod
Hi Robert, I'm using osg 2.4 and window xp. Thank you for your reply, (: Simba 在2008-12-19?21:46:09,Robert?Osfield?robert.osfi...@gmail.com?写道: Hi?Simba, What?OSG?version?and?platform?are?you?using? Robert. On?Fri,?Dec?19,?2008?at?1:38?PM,?Simba?forrestg...@126.com?wrote: ?Hi?all, I?found?that?if?filenames?in?pagedlod?node?contain?Chinese?character,?osg ?will?not?be?able?to?load?file?correctly,?have?anyone?met?this?before??Even ?if?I?use?setlocale(LC_ALL,chs),?it?will?still?not?do.?Help... This?is?one?of?my?pagedlod?node: PagedLOD?{ ?nodeMask?0x ?cullingActive?TRUE ?Radius?100 ?RangeMode?DISTANCE_FROM_EYE_POINT ?RangeList?1?{ ???0?3000 ?} ?NumChildrenThatCannotBeExpired?0 ?FileNameList?1?{ ???a-暨济春天园-01.ive ?} ?num_children?0 ???} ? ?网易免费邮,全球最大的中文免费邮箱 ?___ ?osg-users?mailing?list ?osg-us...@lists.openscenegraph.org ?http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users?mailing?list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Chinese character problem in PagedLod
Hi Simba, Then it's time to upgrade to 2.7.x or svn/trunk as support of wide character sets has been added. Have a look through the osg-users archives from the last two month to track down the discussion on it. I didn't implement the feature, but helped coordinate, you are best find the posts from the author of this functionality, Michael Platings, to see how he's enabled the support. Robert. 2008/12/19 Simba forrestg...@126.com: Hi Robert, I'm using osg 2.4 and window xp. Thank you for your reply, (: Simba 在2008-12-19 21:46:09,Robert Osfield robert.osfi...@gmail.com 写道: Hi Simba, What OSG version and platform are you using? Robert. On Fri, Dec 19, 2008 at 1:38 PM, Simba forrestg...@126.com wrote: Hi all, I found that if filenames in pagedlod node contain Chinese character, osg will not be able to load file correctly, have anyone met this before? Even if I use setlocale(LC_ALL,chs), it will still not do. Help... This is one of my pagedlod node: PagedLOD { nodeMask 0x cullingActive TRUE Radius 100 RangeMode DISTANCE_FROM_EYE_POINT RangeList 1 { 0 3000 } NumChildrenThatCannotBeExpired 0 FileNameList 1 { a-暨济春天园-01.ive } num_children 0 } 网易免费邮,全球最大的中文免费邮箱 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org 网易免费邮,全球最大的中文免费邮箱 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org