http://www.perlmonks.org?node_id=844633


in reply to WWW::Dict::Leo::Org encoding issue

Just because no one mentioned this so far.

Looking with an hex-viewer into your output.txt should allow for a first important divide:

is the file containing what you want or need, as you want or need ?

Once this clarified, you'll have a handle to track down the issue - towards Perl, towards notepad++/Windows or even in both directions.

Replies are listed 'Best First'.
Re^2: WWW::Dict::Leo::Org encoding issue
by ikegami (Patriarch) on Jun 14, 2010 at 17:49 UTC

    is the file containing what you want or need, as you want or need ?

    Apparently so, since everything appears correctly in the editor once he switches it to the right mode.

    The question he's asking is how to convince his editor to automatically switch to the right mode (UTF-8 encoded instead of "ANSI" encoded).