Re: Handling foreign character sets in VBA - Grrrr

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hir4qm4n wrote:
Many thanks for you reply, and I can see that this unicode problem is
more trouble than it's worth, I'll have to sort it manually (this
time).

Probably. If this were an ongoing issue, it'd be worth it, but...

However, I really don't understand how you can say that the code I
supplied 'doesn't really' demonstrate the problem. The code is lifted
directly from my app, and clearly demonstrates how any filenames with
'unicode' characters in them that sit in c:\test get processed and
displayed in a messagebox (with the special characters
modified)....what more could you possibly want ?

Jeez, I'm sorry. I did look way too quick. To me, it seemed you were using
"c:\test" as the filename, not the path, and, well, my mistake. Luckily(?),
I did gauge your intent appropriately, I think. Weird. Subliminal, maybe?
<g>

-->By what means is the filename "passed to VB"?

Well the procedure clearly places the filenames that reside in
c:\test into the strDirResult string variable.

--> What you've shown is a filename typed into the VB IDE.

err..No I haven't, you haven't read the whole post.

Yep, mea culpa.

--> Presumably, that's not how you're attempting to do it, right?

You're right it's not......you've not read my post properly.

Thanks anyway, I'm grateful for the info re working with unicode,
I'll get my head round that as part of a longer term project.

Good luck with it!
--
Working without a .NET?
http://classicvb.org/


.



Relevant Pages

  • Re: tar file names
    ... Can they be stored in unicode or are the other means ... to deal with special characters in filenames? ... I think any filename you can create, tar can handle. ...
    (comp.unix.admin)
  • tar file names
    ... Can they be stored in unicode or are the other means ... to deal with special characters in filenames? ...
    (comp.unix.admin)
  • Re: messed up utf8-filenames on ext3 after some copy
    ... Then I copied all the files from the old laptop ... > Now I start to discover more and more filenames that produces errors ... > a lot of reading about unicode, so maybe there is already a tool out? ... Do it with a shell script. ...
    (comp.os.linux.misc)
  • Re: File names, character sets and Unicode
    ... is there any way to determine what's the charset of filenames returned ... Possibly UTF-8 encoded Unicode, who knows. ... For instance zh_TW is BIG5 charset by default, ... this is likely to cause pain until all file systems are ...
    (comp.lang.python)
  • Re: right curly quote and unicode
    ... I am trying to compare my Itunes Library xml to the actual files on my ... filenames in that encoding. ... Python is able to return you unicode file names right away, ...
    (comp.lang.python)