|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-04-22 09:24 UTC] vrana@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 02:00:01 2025 UTC |
Description: ------------ I'm working with PHP + SQL Server 7.0. When retrieving data with characters like "?","?","?", they are changed into "?","?","?". Doing: <?=chr("?")?> I get 135, which, according to the ascii table indicated by the manual, is "?", not "?". Reproduce code: --------------- <? echo ord("?"); ?> Expected result: ---------------- I expected to get the right ascii code. Actual result: -------------- ord("?") is returning 231, while the ascii table says it should be 135.