The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
why are national letters (ěščř) converted to html special chars?
#10
Chris,

Quote:The problem is in htmlentities() function used in function safe_slash_html() and in settings.php for $SITENAME, so I removed it.

http://de3.php.net/manual/en/function.htmlentities.php

this function is not needed anymore. It was needed in times when pages were not coded in UTF-8 with limited charactersets and codepages, when browsers were configured to show pages in american codepage f.e., and it was necessary to have special characters presented correctly (remember: english has no umlauts for example, german or turkish language has many...)

so, nowadays, when GS is completely in UTF-8, templates are in UTF-8, plugins are coded in UTF-8, this special treatment is not needed anymore, but does some harm at some places

so take it off in the above named functions, I would even recommend to never use it again ;=)
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply


Messages In This Thread
why are national letters (ěščř) converted to html special chars? - by Connie - 2012-01-09, 18:10:01



Users browsing this thread: 3 Guest(s)