Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9
    • Component/s: Language
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Using Eloy's grep trick on the lang files revealed a lot of BOM markers. I assume they don't cause any problems in html files, but I think that the php files can be a problem.

      For absolute vi dummies like me, the solution looks like
      grep -rl $'\xEF\xBB\xBF' * //Search folder and subfolders for BOM markers
      vim filename //opens file in vim
      :set nobomb //removes the BOM
      :w //saves the file with the same name
      :q //quit vim

      (credits to Eloy and http://www.tuxfiles.org/linuxhelp/vimcheat.html)

      to perform on a *nix or a mac.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Mar/08