[Skip to main content](#vessel-content)

#   csv import &amp; newline character?

##

- **[sideways](/forum/user/15498-sideways "View sideways's Profile")**
- [![sideways's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/15498-sideways "View sideways's Profile") Topic Author
- [ Offline](/forum/user/15498-sideways)

Less More

- Posts: 56
- Thank you received: 2
-
-

13 years 8 months ago [\#96342](#96342) by [sideways](/forum/user/15498-sideways "View sideways's Profile")  *[csv import &amp; newline character?](/forum/2-general-talk-about-hikashop/79687-csv-import-newline-character#96342 "Hello  I have a csv where all text fields are enclosed in double quotes. It imports just fine except that any newline (&#92;n) characters within the quotes are ignored by hikashop after import.")* was created by *[sideways](/forum/user/15498-sideways "View sideways's Profile")*

Hello

I have a csv where all text fields are enclosed in double quotes. It imports just fine except that any newline (\n) characters within the quotes are ignored by hikashop after import.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5Njg3LWNzdi1pbXBvcnQtbmV3bGluZS1jaGFyYWN0ZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 8 months ago [\#96520](#96520) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[csv import &amp; newline character?](/forum/2-general-talk-about-hikashop/79687-csv-import-newline-character#96520 "Hello  I have a csv where all text fields are enclosed in double quotes. It imports just fine except that any newline (&#92;n) characters within the quotes are ignored by hikashop after import.")*

Hi,

Did you try with newlines using the format: "\r\n" ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5Njg3LWNzdi1pbXBvcnQtbmV3bGluZS1jaGFyYWN0ZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sideways](/forum/user/15498-sideways "View sideways's Profile")**
- [![sideways's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/15498-sideways "View sideways's Profile") Topic Author
- [ Offline](/forum/user/15498-sideways)

Less More

- Posts: 56
- Thank you received: 2
-
-

13 years 8 months ago [\#96541](#96541) by [sideways](/forum/user/15498-sideways "View sideways's Profile")  Replied by *[sideways](/forum/user/15498-sideways "View sideways's Profile")* on topic *[csv import &amp; newline character?](/forum/2-general-talk-about-hikashop/79687-csv-import-newline-character#96541 "Hello  I have a csv where all text fields are enclosed in double quotes. It imports just fine except that any newline (&#92;n) characters within the quotes are ignored by hikashop after import.")*

Thanks for your reply.

I just rewrote the code in our csv builder application to insert "\r\n" instead of "\n" but it made no difference to the end result. Still, I can confirm it looks ok if i open up the text in a texteditor in both "\n" &amp; "\r\n" cases. I just seems hikashop is not picking up the linebreaks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5Njg3LWNzdi1pbXBvcnQtbmV3bGluZS1jaGFyYWN0ZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

13 years 8 months ago [\#96583](#96583) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[csv import &amp; newline character?](/forum/2-general-talk-about-hikashop/79687-csv-import-newline-character#96583 "Hello  I have a csv where all text fields are enclosed in double quotes. It imports just fine except that any newline (&#92;n) characters within the quotes are ignored by hikashop after import.")*

Why do you think that Hikashop is not picking up the linebreaks ?
Are you sure that you're not missunderstanding linebreaks in text files and HTML linebreaks ?
The linebreaks in text files won't display on HTML pages since you need to use HTML linebreaks &lt;br/&gt; instead.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5Njg3LWNzdi1pbXBvcnQtbmV3bGluZS1jaGFyYWN0ZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sideways](/forum/user/15498-sideways "View sideways's Profile")**
- [![sideways's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/15498-sideways "View sideways's Profile") Topic Author
- [ Offline](/forum/user/15498-sideways)

Less More

- Posts: 56
- Thank you received: 2
-
-

13 years 8 months ago [\#96616](#96616) by [sideways](/forum/user/15498-sideways "View sideways's Profile")  Replied by *[sideways](/forum/user/15498-sideways "View sideways's Profile")* on topic *[csv import &amp; newline character?](/forum/2-general-talk-about-hikashop/79687-csv-import-newline-character#96616 "Hello  I have a csv where all text fields are enclosed in double quotes. It imports just fine except that any newline (&#92;n) characters within the quotes are ignored by hikashop after import.")*

That is entirely possible. :whistle:

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5Njg3LWNzdi1pbXBvcnQtbmV3bGluZS1jaGFyYWN0ZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.055 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
