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

#   Escaping Characters

##

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

Less More

- Posts: 31
- Thank you received: 0
-
-

12 years 10 months ago [\#141680](#141680) by [listsubscriber](/forum/user/16705-listsubscriber "View listsubscriber's Profile")  *[Escaping Characters](/forum/37-import-export-csv-xls/865421-escaping-characters#141680 "-- HikaShop version -- : 2.Latest -- Joomla version -- : 2.5.Latest -- PHP version -- : 5.4.Latest  Simple question, how do we escape a semicolon in the CSV? We've tried exporting a sample category and product with semicolons in their names and/or description but HikaShop doesn't escape the character during the export. When we try importing with the semicolon still there, the category or product is broken.  We can escape quotes, but haven't found a way to escape semicolons. Any help would be appreciated.  Thanks.")* was created by *[listsubscriber](/forum/user/16705-listsubscriber "View listsubscriber's Profile")*

-- HikaShop version -- : 2.Latest
-- Joomla version -- : 2.5.Latest
-- PHP version -- : 5.4.Latest

Simple question, how do we escape a semicolon in the CSV? We've tried exporting a sample category and product with semicolons in their names and/or description but HikaShop doesn't escape the character during the export. When we try importing with the semicolon still there, the category or product is broken.

We can escape quotes, but haven't found a way to escape semicolons. Any help would be appreciated.

Thanks.

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 10 months ago [\#141700](#141700) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Escaping Characters](/forum/37-import-export-csv-xls/865421-escaping-characters#141700 "-- HikaShop version -- : 2.Latest -- Joomla version -- : 2.5.Latest -- PHP version -- : 5.4.Latest  Simple question, how do we escape a semicolon in the CSV? We've tried exporting a sample category and product with semicolons in their names and/or description but HikaShop doesn't escape the character during the export. When we try importing with the semicolon still there, the category or product is broken.  We can escape quotes, but haven't found a way to escape semicolons. Any help would be appreciated.  Thanks.")*

Hi,
Note that characters inside your product name for example won't need to be escaped, here is an example :

> "my;product;name";"my;product;description";

Your issue is probably coming from the fact that the structure of your exported CSV was modified when you opened it with one of your program.
You can attach your CSV file if you want me to check it for you ![:)](/media/kunena/emoticons/3.png ":)").

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

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

Less More

- Posts: 31
- Thank you received: 0
-
-

12 years 10 months ago [\#141765](#141765) by [listsubscriber](/forum/user/16705-listsubscriber "View listsubscriber's Profile")  Replied by *[listsubscriber](/forum/user/16705-listsubscriber "View listsubscriber's Profile")* on topic *[Escaping Characters](/forum/37-import-export-csv-xls/865421-escaping-characters#141765 "-- HikaShop version -- : 2.Latest -- Joomla version -- : 2.5.Latest -- PHP version -- : 5.4.Latest  Simple question, how do we escape a semicolon in the CSV? We've tried exporting a sample category and product with semicolons in their names and/or description but HikaShop doesn't escape the character during the export. When we try importing with the semicolon still there, the category or product is broken.  We can escape quotes, but haven't found a way to escape semicolons. Any help would be appreciated.  Thanks.")*

As our catalog grew, Hikashop will no longer export. Here's a sample we did on a fresh, test install.

All we did was create a new category under Store Categories called Sample; Test Cat With Semi ... we put the ';' after Sample to demonstrate what happens.

Next, we did an export in Hikashop and we got the attached file. Now, import the file with no changes and you will have 3 categories under Store Categories instead of 1.

Store Categories
-- Sample; Test Cat With Semi
-- Sample
-- Test Cat With Semi

We thought we could use the &amp;semi; or hex code, but each of those ends with a semicolon. LOL!

I guess we can switch to the comma and replace all the commas in our titles and descriptions with their hex equivalent.

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

12 years 9 months ago [\#142698](#142698) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Escaping Characters](/forum/37-import-export-csv-xls/865421-escaping-characters#142698 "-- HikaShop version -- : 2.Latest -- Joomla version -- : 2.5.Latest -- PHP version -- : 5.4.Latest  Simple question, how do we escape a semicolon in the CSV? We've tried exporting a sample category and product with semicolons in their names and/or description but HikaShop doesn't escape the character during the export. When we try importing with the semicolon still there, the category or product is broken.  We can escape quotes, but haven't found a way to escape semicolons. Any help would be appreciated.  Thanks.")*

Well, it's indeed a bit tricky to use the semicolons.
If you can use something different such as coma it will be easier. If you want to keep with this, we'll try to find a solution.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NjU0MjEtZXNjYXBpbmctY2hhcmFjdGVycz90bXBsPW1hcmtkb3du) 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.056 seconds

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