Fix T46293: Text Editor: Convert to spaces/to tabs was totally broken with non-ASCII...
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 28 Sep 2015 08:04:37 +0000 (10:04 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 28 Sep 2015 08:04:37 +0000 (10:04 +0200)
commitfc97204742d348797c7f16a44978bb7e756af473
treef7dc5320d915e4257cd92fa717af7940121e891a
parent1a6d45527fe873d48139aa403f13bb3d828cd841
Fix T46293: Text Editor: Convert to spaces/to tabs was totally broken with non-ASCII strings.

Code was totally unaware of UTF8, also it was needlessly complicated...
source/blender/editors/space_text/text_ops.c