define encoding to eliminate platform dependencies