Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Using non-utf-8 encoding in the default.ini from OntoWiki (utf-16 for example) leads to a warning #384

Open
shinobu opened this issue Aug 17, 2016 · 3 comments
Assignees
Milestone

Comments

@shinobu
Copy link
Collaborator

shinobu commented Aug 17, 2016

If you choose utf-16 as encode in the default.ini OntoWiki throws a warning:

Warning: htmlspecialchars(): charsetutf-16' not supported`

setup:
OntoWiki Develop 456a819
PHP 5.5.9-1ubuntu4.17
Virtuoso Version 07.20.3217-pthreads for Linux as of Jul 4 2016
Erfurt 8340230

@white-gecko
Copy link
Member

do other encodings work. other than utf-8?

@shinobu
Copy link
Collaborator Author

shinobu commented Aug 18, 2016

no error: utf-8, IBM866, KOI8-R, KOI8-U

error: ISO-8859-2, ISO-8859-3 (i will skip the others up to iso 1, i guess it will be the same), macintosh, windows-874(i guess the other windows encodings too), ASCII, GBK, utf-16

we should check how the encoding is determined in OntoWiki and add a list with possible encodings (and maybe expand it later on)

@shinobu shinobu added this to the 1.1 milestone Aug 18, 2016
@shinobu shinobu self-assigned this Aug 18, 2016
@shinobu
Copy link
Collaborator Author

shinobu commented Aug 19, 2016

After a little search Zend and OntoWiki seem to support all of those html entities listed on this website:

http://php.net/htmlentities

(the Zend Filter for Version 2.0 linked there, though we use 1.12 it still seems to work https://framework.zend.com/manual/2.0/en/modules/zend.filter.set.html)

though the line on the left-top (OntoWiki --- Model info...) changed to many different symbols depending on the encoding

screenshot from 2016-08-19 13 22 59

@shinobu shinobu changed the title Choosing utf-16 as encode throws an error Using non-utf-8 encoding in the default.ini from OntoWiki (utf-16 for example) leads to a warning Oct 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants