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

#   Set file charset encoding standard to UTF-8

##

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

Less More

- Posts: 98
- Thank you received: 7
-
-

4 years 1 day ago [\#345887](#345887) by [Markus Schnier](/forum/user/44597-markus-schnier "View Markus Schnier's Profile")  *[Set file charset encoding standard to UTF-8](/forum/37-import-export-csv-xls/905218-set-file-charset-encoding-standard-to-utf-8#345887 "-- HikaShop version -- : 4.6.2 -- Joomla version -- : v3 latest -- PHP version -- : PHP8  Hi,  all of my import files are in UTF-8. Is there a easy way to set UTF-8 as a standard (via Views) to avoid that we need to select correct encoding charset for every import? Unfortuanetly the automatic detection is not working properly  thanks &amp; best regards Markus")* was created by *[Markus Schnier](/forum/user/44597-markus-schnier "View Markus Schnier's Profile")*

-- HikaShop version -- : 4.6.2
-- Joomla version -- : v3 latest
-- PHP version -- : PHP8

Hi,

all of my import files are in UTF-8. Is there a easy way to set UTF-8 as a standard (via Views) to avoid that we need to select correct encoding charset for every import? Unfortuanetly the automatic detection is not working properly

thanks &amp; best regards
Markus

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy85MDUyMTgtc2V0LWZpbGUtY2hhcnNldC1lbmNvZGluZy1zdGFuZGFyZC10by11dGYtOD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86281
- Thank you received: 14262
-
-

3 years 11 months ago [\#345909](#345909) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Set file charset encoding standard to UTF-8](/forum/37-import-export-csv-xls/905218-set-file-charset-encoding-standard-to-utf-8#345909 "-- HikaShop version -- : 4.6.2 -- Joomla version -- : v3 latest -- PHP version -- : PHP8  Hi,  all of my import files are in UTF-8. Is there a easy way to set UTF-8 as a standard (via Views) to avoid that we need to select correct encoding charset for every import? Unfortuanetly the automatic detection is not working properly  thanks &amp; best regards Markus")*

Hi,

Change the line: Code:

&lt;?php $charsetType = hikashop_get('type.charset'); array_unshift($charsetType-&gt;values,JHTML::_('select.option','', JText::_('UNKNOWN'))); echo $charsetType-&gt;display('charsetconvert',hikaInput::get()-&gt;getString('charsetconvert','')); ?&gt;

to: Code:

&lt;?php $charsetType = hikashop_get('type.charset'); array_unshift($charsetType-&gt;values,JHTML::_('select.option','', JText::_('UNKNOWN'))); echo $charsetType-&gt;display('charsetconvert',hikaInput::get()-&gt;getString('charsetconvert','UTF-8')); ?&gt;

in the file import / file.php for your backend template via the menu Display&gt;Views and it should do it.

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

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

Less More

- Posts: 98
- Thank you received: 7
-
-

3 years 11 months ago [\#346035](#346035) by [Markus Schnier](/forum/user/44597-markus-schnier "View Markus Schnier's Profile")  Replied by *[Markus Schnier](/forum/user/44597-markus-schnier "View Markus Schnier's Profile")* on topic *[Set file charset encoding standard to UTF-8](/forum/37-import-export-csv-xls/905218-set-file-charset-encoding-standard-to-utf-8#346035 "-- HikaShop version -- : 4.6.2 -- Joomla version -- : v3 latest -- PHP version -- : PHP8  Hi,  all of my import files are in UTF-8. Is there a easy way to set UTF-8 as a standard (via Views) to avoid that we need to select correct encoding charset for every import? Unfortuanetly the automatic detection is not working properly  thanks &amp; best regards Markus")*

Hi

Thanks. That was also how I tried it. But not sure why.
It's also not working. I updated both templates . But it's still 'Unknown'

Any idea?

Best regards
Markus

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy85MDUyMTgtc2V0LWZpbGUtY2hhcnNldC1lbmNvZGluZy1zdGFuZGFyZC10by11dGYtOD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86281
- Thank you received: 14262
-
-

3 years 11 months ago [\#346041](#346041) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Set file charset encoding standard to UTF-8](/forum/37-import-export-csv-xls/905218-set-file-charset-encoding-standard-to-utf-8#346041 "-- HikaShop version -- : 4.6.2 -- Joomla version -- : v3 latest -- PHP version -- : PHP8  Hi,  all of my import files are in UTF-8. Is there a easy way to set UTF-8 as a standard (via Views) to avoid that we need to select correct encoding charset for every import? Unfortuanetly the automatic detection is not working properly  thanks &amp; best regards Markus")*

Hi,

The modification works on my end, so I can only think that either you didn't add the correct text or you didn't do it for the template you're using in your backend, or a caching issue of some sort.

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

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

Less More

- Posts: 98
- Thank you received: 7
-
-

3 years 11 months ago -  3 years 11 months ago [\#346341](#346341) by [Markus Schnier](/forum/user/44597-markus-schnier "View Markus Schnier's Profile")  Replied by *[Markus Schnier](/forum/user/44597-markus-schnier "View Markus Schnier's Profile")* on topic *[Set file charset encoding standard to UTF-8](/forum/37-import-export-csv-xls/905218-set-file-charset-encoding-standard-to-utf-8#346341 "-- HikaShop version -- : 4.6.2 -- Joomla version -- : v3 latest -- PHP version -- : PHP8  Hi,  all of my import files are in UTF-8. Is there a easy way to set UTF-8 as a standard (via Views) to avoid that we need to select correct encoding charset for every import? Unfortuanetly the automatic detection is not working properly  thanks &amp; best regards Markus")*

Hi
thanks for your feedback. I updated the views for both templates (just to be on the safe side) but the default is still not changed. All caches are cleared.
No clue what's wrong on my side
thanks and best regards
Markus

- [ ![hathor.jpg](/forum/attachment/55852) ](/forum/attachment/55852 "hathor.jpg") [ ](/forum/attachment/55852?download=1 "hathor.jpg")
- [ ![isis.jpg](/forum/attachment/55853) ](/forum/attachment/55853 "isis.jpg") [ ](/forum/attachment/55853?download=1 "isis.jpg")
- [ ![result.png](/forum/attachment/55854) ](/forum/attachment/55854 "result.png") [ ](/forum/attachment/55854?download=1 "result.png")

Last edit: 3 years 11 months ago by [Markus Schnier](/forum/user/44597-markus-schnier "View Markus Schnier's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy85MDUyMTgtc2V0LWZpbGUtY2hhcnNldC1lbmNvZGluZy1zdGFuZGFyZC10by11dGYtOD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86281
- Thank you received: 14262
-
-

3 years 11 months ago [\#346379](#346379) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Set file charset encoding standard to UTF-8](/forum/37-import-export-csv-xls/905218-set-file-charset-encoding-standard-to-utf-8#346379 "-- HikaShop version -- : 4.6.2 -- Joomla version -- : v3 latest -- PHP version -- : PHP8  Hi,  all of my import files are in UTF-8. Is there a easy way to set UTF-8 as a standard (via Views) to avoid that we need to select correct encoding charset for every import? Unfortuanetly the automatic detection is not working properly  thanks &amp; best regards Markus")*

Hi,

I'm not sure why it wouldn't work.
Could you provide a backend and FTP access in order to check the situation ?

Please use our contact form:
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

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

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

Less More

- Posts: 98
- Thank you received: 7
-
-

3 years 4 months ago [\#351966](#351966) by [Markus Schnier](/forum/user/44597-markus-schnier "View Markus Schnier's Profile")  Replied by *[Markus Schnier](/forum/user/44597-markus-schnier "View Markus Schnier's Profile")* on topic *[Set file charset encoding standard to UTF-8](/forum/37-import-export-csv-xls/905218-set-file-charset-encoding-standard-to-utf-8#351966 "-- HikaShop version -- : 4.6.2 -- Joomla version -- : v3 latest -- PHP version -- : PHP8  Hi,  all of my import files are in UTF-8. Is there a easy way to set UTF-8 as a standard (via Views) to avoid that we need to select correct encoding charset for every import? Unfortuanetly the automatic detection is not working properly  thanks &amp; best regards Markus")*

Hi Nicolas,

sorry for the late response but I missed somehow your posting.

Before I create you the access please find attached the changes which I made in the ISIS template (which is my backend template).

Any idea?

best regards
Markus

- [ ![Screenshot2023-05-24214332.jpg](/forum/attachment/57101) ](/forum/attachment/57101 "...5-24214332.jpg") [ ](/forum/attachment/57101?download=1 "...5-24214332.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy85MDUyMTgtc2V0LWZpbGUtY2hhcnNldC1lbmNvZGluZy1zdGFuZGFyZC10by11dGYtOD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86281
- Thank you received: 14262
-
-

3 years 4 months ago [\#351982](#351982) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Set file charset encoding standard to UTF-8](/forum/37-import-export-csv-xls/905218-set-file-charset-encoding-standard-to-utf-8#351982 "-- HikaShop version -- : 4.6.2 -- Joomla version -- : v3 latest -- PHP version -- : PHP8  Hi,  all of my import files are in UTF-8. Is there a easy way to set UTF-8 as a standard (via Views) to avoid that we need to select correct encoding charset for every import? Unfortuanetly the automatic detection is not working properly  thanks &amp; best regards Markus")*

Hi,

That same modification works fine for me and I don't see a problem with your modification. So I don't know why it wouldn't work for you.
So I guess we'll need the access.

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

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

[](#top)
