• Announcements

    • Shane D.

      Evernote Business Beta - Spaces   12/20/2017

      We're very excited to announce the public beta of an upcoming rework for Evernote Business! To learn more, go Here
    • Shane D.

      2018 Evernote Webinars   01/04/2018

      To kick off the new year, we're excited to announce our  updated schedule for our series of webinars! Please check the events calendar to see which one works best for you!
    • Shane D.

      Upcoming Forum Change Announcement   02/14/2018

      Hi All! You may be seeing some changes with overall organization and layout of the discussion forums. You can learn more by going to the 'Upcoming Forum Change Announcement' in the 'Community Announcements' sub-forum!  

Encoding issues depending on note origin : EV Web or EV Apps

Recommended Posts



I've noticed a very strange issue using the PHP SDK. I've noticed that the same Regexp works if the note content was created on Evernote Web interface but not if the note is then edited with Mac/Windows apps. I suspect there may be some encoding issues behind this, but it sounds really strange.


I don't really know which version of the SDK we're using, may this be linked?


Please find below a code example. 

$note = $noteStore->getnote($authToken,$idr,true,false,false,false);$content = $note->content;
$content = preg_replace('#(<div>)?<en-todo></en-todo>(.*?)</?div>#s', '<ul><li>$2</li></ul>', $content);


Share this post

Link to post