change toLocal8Bit() ==> toUtf8() in html gallery generator

Authored by mqualmann on Mar 17 2018, 2:57 PM.