From: Phil D. <ph...@lo...> - 2014-06-12 06:53:26
|
Hi Exson, I wondered why we don't just always enclose the output in quotes and why there needs to be a test to see if there is a comma in it at all. Couldn't we just always quote ... I'll commit this to see if it works for you? Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 12/06/14 14:06, ExsonQu wrote: > *Hi, Phil,* > > Thank you for your nice reply. I'll remove it later. > > Thank you for reviewing my revision. For multi-byte character set, > the comma is not coded in '44' as ASCII, at least in Chinese characters set. > So it'll not destroy the delimiter function of csv files. The actual one > make the delimiter failed is the ASCII coded 44, unfortunately, mb_strpos() > failed to to sort it out. The strpos() does. > The solution at least work for Chinese characters. > > If any mistake, please correct me! > > Thanks and best regards! > > Exson > > > > -- > View this message in context: http://weberp-accounting.1478800.n4.nabble.com/What-s-the-real-meaning-of-Ports-tp4657516p4657518.html > Sent from the web-ERP-developers mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |