Pancho Posted December 9, 2016 Share Posted December 9, 2016 The import of the CSV file works nicely, but - in my case it french city names - the strings get truncated as soon as the first è or ü (well, that's more a german letter) or what ever appears. Is Houdini only capable of handling A-Z and a-z? No accent de gue or whatever these letters might be? Cheers Tom Quote Link to comment Share on other sites More sharing options...
stevegh Posted December 9, 2016 Share Posted December 9, 2016 Are you using python to parse the CSV? If not I would do that. https://docs.python.org/2/library/csv.html Quote Link to comment Share on other sites More sharing options...
Pancho Posted December 9, 2016 Author Share Posted December 9, 2016 Actually just the regular Houdini Table importer. Wonder whether I can bend my mind around that. Quote Link to comment Share on other sites More sharing options...
stevegh Posted December 9, 2016 Share Posted December 9, 2016 You could also use Python (inside or outside of H) to clean up the unwanted letters for you. Each one of those characters has a corresponding integer representation. Poke around stack overflow and I'm sure you will find help with cleaning it up. Quote Link to comment Share on other sites More sharing options...
Pancho Posted December 9, 2016 Author Share Posted December 9, 2016 : ) I need these letters. After all I need the French city names to be spelled correctly. Quote Link to comment Share on other sites More sharing options...
stevegh Posted December 9, 2016 Share Posted December 9, 2016 Well if the table import in H isn't working I'd say brush up on that Python! Quote Link to comment Share on other sites More sharing options...
f1480187 Posted December 9, 2016 Share Posted December 9, 2016 (edited) Save CSV file in UTF-8, it should start to work. Table Import is a Python operator itself, it uses csv module internally. Look at the Code tab in Type Properties. Edited December 9, 2016 by f1480187 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.