Parse the arabic content using NSXMLParser.

Discussion in 'iOS Programming' started by mpramodjain, Dec 7, 2010.

  1. mpramodjain macrumors regular

    Joined:
    Nov 20, 2008
    Location:
    Banglore
    #1
    Hi,

    During Parsing the attributes of the xml containing the arabic language text, using NSXMLParser, We are getting the unicode characters of the format "\U..".

    Do anyone know how to get the exact arabic text in the NSString format while parsing from xml.

    Following is the sample format:


    Code:
    <TEST>
    <inline test="رجاء إدخال كلمة المرور أعد كتابة"/>
    <img>sdgdsgsdg</img>
    </TEST>
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    \Uxxxx normally represents a Unicode character. How are you determining what the character is? How are you debugging this? I suspect the issue lies in display/debugging formatting: post your code.
     

Share This Page