Add implementation for TextCapture.Encoding to avoid exception