Forrest
  1. Forrest
  2. FOR-305

Need FAQ to explain character encoding for certain languages

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.7
    • Labels:
      None
    • Environment:
      Mandrake Linux 10.0 (english instalation), editing with kwrite

      Description

      imediatlly after a fresh "forrest seed", if I run "forrest validate" it stops saying "BUILD FAILLED" in any .xml file that contains characters with accents, which are very common in portuguese, german, french and other languages...

        Activity

        Hide
        Juan Jose Pablos added a comment -
        Added to the site.
        Show
        Juan Jose Pablos added a comment - Added to the site.
        Hide
        Arturo Vazquez Corona added a comment -
        A first proposal on a faq to address this issue.
        Includes a brief discussion on encoding issues in unix-like systems

        bonus patch: mismatched closing tag on src/documentation/content/xdocs/docs/linking.xml
        Show
        Arturo Vazquez Corona added a comment - A first proposal on a faq to address this issue. Includes a brief discussion on encoding issues in unix-like systems bonus patch: mismatched closing tag on src/documentation/content/xdocs/docs/linking.xml
        Hide
        David Crossley added a comment -
        Changing title and version. We should add an FAQ.
        Show
        David Crossley added a comment - Changing title and version. We should add an FAQ.
        Hide
        Arturo Vazquez Corona added a comment -
        as stated on the reference posted, this issue is related to the encoding used in the file (.xml) and the one is stated in the XML header (they have to be the same).

        In mandrake 10 the "default" encoding is ISO-8859-1 and not UTF-8 as stated in the seed templates, so all your editors try use this encoding as you open-edit-save your files

        The other way to fix this is to edit your files using UTF-8.

        If this works in general for you as it does for me the LANG env var can do the trick for example i have this:
         $ echo $LANG
        en_US.UTF-8
        Show
        Arturo Vazquez Corona added a comment - as stated on the reference posted, this issue is related to the encoding used in the file (.xml) and the one is stated in the XML header (they have to be the same). In mandrake 10 the "default" encoding is ISO-8859-1 and not UTF-8 as stated in the seed templates, so all your editors try use this encoding as you open-edit-save your files The other way to fix this is to edit your files using UTF-8. If this works in general for you as it does for me the LANG env var can do the trick for example i have this:  $ echo $LANG en_US.UTF-8
        Hide
        David Crossley added a comment -
        Please review this comment:
        http://mail-archives.apache.org/eyebrowse/ReadMsg?listId=260&msgNo=690
        If you still have troubles then, attach an example *.xml file which demonstrates your issue. I don't have any problem with writing accented characters in my documents.
        Show
        David Crossley added a comment - Please review this comment: http://mail-archives.apache.org/eyebrowse/ReadMsg?listId=260&msgNo=690 If you still have troubles then, attach an example *.xml file which demonstrates your issue. I don't have any problem with writing accented characters in my documents.

          People

          • Assignee:
            Unassigned
            Reporter:
            Joao Ferreira
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development