riesenia/pohoda

how to set custom encoding

Closed this issue · 1 comments

Ciki commented

Hi, I'd like to set custom encoding (utf-8). What is the best way to do it?
It's being set on 2 places currently

segy commented

Hi

first one is simple - similar to setting the application attribute. But since this is also used in Agenda, I'd suggest a public static property (you can see Pohoda::$namespaces are used there). Please set it to windows-1250 by default for backward compatibility.