- Posts: 98
- Thank you received: 7
Set file charset encoding standard to UTF-8
- Markus Schnier
-
Topic Author
- Offline
Less
More
3 years 11 months ago #345887
by Markus Schnier
Set file charset encoding standard to UTF-8 was created by Markus Schnier
-- 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 & best regards
Markus
-- 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 & best regards
Markus
Please Log in or Create an account to join the conversation.
3 years 11 months ago #345909
by nicolas
Replied by nicolas on topic Set file charset encoding standard to UTF-8
Hi,
Change the line:
to:
in the file import / file.php for your backend template via the menu Display>Views and it should do it.
Change the line:
Code:
<?php $charsetType = hikashop_get('type.charset'); array_unshift($charsetType->values,JHTML::_('select.option','', JText::_('UNKNOWN'))); echo $charsetType->display('charsetconvert',hikaInput::get()->getString('charsetconvert','')); ?>
Code:
<?php $charsetType = hikashop_get('type.charset'); array_unshift($charsetType->values,JHTML::_('select.option','', JText::_('UNKNOWN'))); echo $charsetType->display('charsetconvert',hikaInput::get()->getString('charsetconvert','UTF-8')); ?>
Please Log in or Create an account to join the conversation.
- Markus Schnier
-
Topic Author
- Offline
Less
More
- Posts: 98
- Thank you received: 7
3 years 10 months ago #346035
by Markus Schnier
Replied by Markus Schnier on topic Set file charset encoding standard to UTF-8
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
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 or Create an account to join the conversation.
3 years 10 months ago #346041
by nicolas
Replied by nicolas on topic Set file charset encoding standard to UTF-8
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.
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 or Create an account to join the conversation.
- Markus Schnier
-
Topic Author
- Offline
Less
More
- Posts: 98
- Thank you received: 7
3 years 10 months ago - 3 years 10 months ago #346341
by Markus Schnier
Replied by Markus Schnier on topic Set file charset encoding standard to UTF-8
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
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
Last edit: 3 years 10 months ago by Markus Schnier.
Please Log in or Create an account to join the conversation.
3 years 10 months ago #346379
by nicolas
Replied by nicolas on topic Set file charset encoding standard to UTF-8
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
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
Please Log in or Create an account to join the conversation.
- Markus Schnier
-
Topic Author
- Offline
Less
More
- Posts: 98
- Thank you received: 7
3 years 4 months ago #351966
by Markus Schnier
Replied by Markus Schnier on topic Set file charset encoding standard to UTF-8
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
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
Please Log in or Create an account to join the conversation.
3 years 4 months ago #351982
by nicolas
Replied by nicolas on topic Set file charset encoding standard to UTF-8
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.
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 or Create an account to join the conversation.
Time to create page: 0.187 seconds