Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. C# Unicode File Names. FileInfo

C# Unicode File Names. FileInfo

Scheduled Pinned Locked Moved C#
questioncsharp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dato
    wrote on last edited by
    #1

    I'm currently working on a project which requires me to read Unicode File Names. Does the FileInfo class do this ? How can I create a unicode file in order to test this.. jon

    N 1 Reply Last reply
    0
    • D Dato

      I'm currently working on a project which requires me to read Unicode File Names. Does the FileInfo class do this ? How can I create a unicode file in order to test this.. jon

      N Offline
      N Offline
      Nader Elshehabi
      wrote on last edited by
      #2

      Dato wrote:

      I'm currently working on a project which requires me to read Unicode File Names

      I thought any program developed in C# can read unicode -unless you explicitly ask for ASCII-

      Dato wrote:

      Does the FileInfo class do this

      Yes.

      Dato wrote:

      How can I create a unicode file in order to test this..

      You have to use non-English caracters for that. For example; Add the eastren -e.g. chinese- languages support to your windows. Go to any chinese web site, and copy/paste some text from there -you don't have to understand it- into a file name and try to open it using your app.

      Regards:rose:

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups