| To: | brian dot rathbone at learningstation dot com (Brian Rathbone), realbasic-plugins at lists dot realsoftware dot com (REALbasic Plugins) |
|---|---|
| Subject: | Re: How to make folderitem from UTF16 path string on Windows? |
| From: | support at monkeybreadsoftware dot de (Christian Schmitz) |
| Date: | Fri, 18 Feb 2005 22:40:30 +0100 |
| Cc: | |
| Comments: | Written on a PowerMac G4 and sent via DSL. |
| Delivered-to: | realbasic-plugins at lists dot realsoftware dot com |
Brian Rathbone <brian dot rathbone at learningstation dot com> wrote: > Is it the fact that the path is UTF16 that is causing the standard way of > getting a folderitem to fail? The standard way is to give RB a CString which is normally 8bit per character. "Hello" as UTF16 contains as bytes 5 times a zero, so the string end would be found to early. > Could you use GetShortPathNameW to get a usable short path? No. Input and Output are Unicode on this function. Mfg Christian -- Nine thousand functions in one REALbasic plug-in. The MBS Plugin. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html> |
| Previous by Date: | Re: How to make folderitem from UTF16 path string on Windows?, Brian Rathbone |
|---|---|
| Next by Date: | Re: How to make folderitem from UTF16 path string on Windows?, William Yu |
| Previous by Thread: | Re: How to make folderitem from UTF16 path string on Windows?, Brian Rathbone |
| Next by Thread: | Re: How to make folderitem from UTF16 path string on Windows?, William Yu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |