Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-10107

iOS: Build error while accessing the multi lingual filename

    Details

      Description

      I'm getting the build error when accessing a multi lingual filename. Please find the error logs attached.

      Repo Steps

      1. Run the below code in the app.js
      2. Include the attached pdf file to the resources directory.

      Titanium.UI.setBackgroundColor('#000');
          //creating the window
          var win1 = Titanium.UI.createWindow({
              title:'win 1',
              backgroundColor:'#fff'
              });
           //add window - navigation bar
           var modalWin = Ti.UI.createWindow();
           //nav bar
           var navmodal = Ti.UI.iPhone.createNavigationGroup({
              window:modalWin
              });
           win1.add(navmodal);
           //button for the nav bar
           var b2t = Titanium.UI.createButton({
             title:'Launch'
             });
           modalWin.RightNavButton = b2t;
           //button for the window
           var b1t = Titanium.UI.createButton({
             title:'Launch',
             height:40,
             width:200,
             top:270
             });
           win1.add(b1t);
           //Setting up the documentviewer
           var filename = Titanium.Filesystem.getFile('網上廣東話輸入法.pdf');
           z = Ti.UI.iPad.createDocumentViewer({url:filename.nativePath});
           //documentviewer with animation set on and a quicklook view poping up next to a view
           b1t.addEventListener('click', function(){z.show({animated:false,view:b2t});});
           //documentviewer with animation set off
           b2t.addEventListener('click', function(){z.show();});
           win1.open();
      

        Attachments

          Activity

            People

            • Assignee:
              srahim Sabil Rahim
              Reporter:
              nsharma Nikhil Sharma
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-5483
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code