UTF-8 strings are not looking right
<p>I have some strings Im getting from an API.</p>

<p>The api gave me strings like this:</p>

<p><img src="http://i.stack.imgur.com/5m5CV.png" alt="enter image description here"></p>

<p>But I suspect I need to somehow make these UTF-16?
Is there any way to do this with .NET? I know .NET prefers working with UTF-16...</p>

<pre><code>public Task ParseTask(XElement task, bool singleTask)
{
    Task t = new Task();
    int id;
    int.TryParse(task.Attribute("id").Value, out id);
    t.ID = id;
    t.Title = singleTask ? task.Element("name").Value : task.Attribute("name").Value;
    t.IsComplete = task.Attribute("complete").Value == "1";
    t.IsBillable = task.Attribute("billable").Value == "1";

    if (task.Element("user").Attribute("id") != null)
    {
        t.UserID = task.Element("user").Attribute("id").Value;
        t.UserName = task.Element("user").Attribute("name").Value;
    }

    t.Description = task.Element("description").Value;
    decimal pph;
    decimal.TryParse(task.Element("price_per_hour").Value, out pph);
    t.PricePerHour = pph;

    decimal bh;
    decimal.TryParse(task.Element("budget_hours").Value, out bh);
    t.BudgetHours = bh;
    int pid;
    int.TryParse(task.Element("project").Attribute("id").Value, out pid);
    t.ProjectID = pid;

    int tlid;
    int.TryParse(task.Element("tasklist").Attribute("id").Value, out tlid);
    t.TaskListID = tlid;

    return t;
}
</code></pre>

<p>--</p>

<pre><code> public List&lt;Task&gt; GetProjectTasks(int projectID)
        {
            List&lt;Task&gt; list = new List&lt;Task&gt;();

            string args = String.Format("project_id={0}", projectID);
            string uri = CreateURI("paymo.tasks.findByProject", args);
            string reply = client.DownloadString(uri);
            XDocument doc = XDocument.Parse(reply);
            if (IsOk(doc))
            {
                IEnumerable&lt;XElement&gt; tasks =
                    doc.Element("response").Element("tasks").Elements();

                foreach (var task in tasks)
                {
                    list.Add(ParseTask(task, false));
                }
            }
            else
            {
                throw new Exception();
            }



            return list;
        }
</code></pre>
