BUG: StataWriter uses incorrect string length
Fixes bug where StataWriter always writes strings with
a size of 244.

closes #8969

@jreback I have had to use a workaround since `max_len_string_array` does not work with unicode - it alway returns 0.  Any ideas on getting the maximum length for a unicode array (when `infer_dtype` returns 'unicode')?
 https://github.com/pydata/pandas/pull/8978

should fix this (give it a try and lmk)

just wasn't implemented.
 Once #8978 gets in, then I'll rebase and remove the workaround.
 does that fix it for you? it's ready to go
 Yes, all fixed.  Once I can rebase on it this should be ready.
 did you need any addtl tests for this? looks back-compat?
 I adapted an existing test to check for this in addition to a previous bug

On Dec 3, 2014 8:32 AM, jreback notifications@github.com wrote:

did you need any addtl tests for this? looks back-compat?

—
Reply to this email directly or view it on GitHubhttps://github.com/pydata/pandas/pull/8977#issuecomment-65406670.
 thanks!
