News system,XML & Unicode

Discussion in 'PHP' started by Embrance, Jan 13, 2007.

  1. #1
    Ok i was thinking of making a simple php news system , wich will use flatfiles. One of my concerns is to be multilingual(use other languages then English for content). From what i have seen, TXT files cant do what i want(Or do it with difficulty),so i was thinking of saving all content in XML files.

    Do the general idea is this:
    -have a post form
    -After putting the text i want in(in any other language then English,for example greek) parse the text in an XML file(wich can support unicode text from what i have seen)

    What are your thoughts on this? Is there any other way to store unicode files in flatfile?
    Any advices/guidelines?
     
    Embrance, Jan 13, 2007 IP
  2. crazybjörn

    crazybjörn Peon

    Messages:
    270
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    XML file is a TXT file with an XML extension. So it wouldn't make a difference if it's XML or TXT or CSV or whatever, they are still all flat files. It's all really a matter of the OS and the program that saves the files, whether it will be unicode or not.
     
    crazybjörn, Jan 15, 2007 IP