6a55d12 Fix the encoding variable that we're using in the new function

Authored and Committed by toshio 12 years ago
    Fix the encoding variable that we're using in the new function