-void data_out_legacy (const union value *, enum legacy_encoding,
- const struct fmt_spec *, char *);
+char * data_out_pool (const union value *, const char *encoding, const struct fmt_spec *, struct pool *pool);
+
+void data_out_recode (const union value *input, const char *input_encoding,
+ const struct fmt_spec *,
+ struct string *output, const char *output_encoding);