SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard
    Join Date
    Jan 2005
    Location
    blahblahblah
    Posts
    1,447
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    converts all files to utf-8

    Hi,

    I'm running into a problem again and again: my files are not all encoded in utf-8. I went through all the files, file by file, set the encoding manually, but as soon as I start to duplicate files, the problem seems to come back and haunt me.

    Does anyone know of a class, or a function, that you would put at the top of a folder, and that would go through all the files and all the subsequent folders (recursion) and turn the files into utf-8?

    How hard would that be to build it myself? Where should I start?

    Regards,

    -jj.

  2. #2
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Is there anything in the usernotes on this man page that will do what you want?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •