{"id":4894,"date":"2018-06-21T13:52:30","date_gmt":"2018-06-21T05:52:30","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=4894"},"modified":"2018-06-21T13:53:03","modified_gmt":"2018-06-21T05:53:03","slug":"%e6%97%a5%e7%a7%af%e6%9c%88%e7%b4%afwarning-w1000-symbol-1-is-deprecated-use-2","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=4894","title":{"rendered":"[\u65e5\u79ef\u6708\u7d2f]-20180621\uff1a[Warning] W1000 Symbol &#8216;%1&#8217; is deprecated: &#8216;Use %2&#8217;"},"content":{"rendered":"<h4>\u3010\u8bd1\u3011<\/h4>\n<p>[\u8b66\u544a] W1000 \u7b26\u53f7 &#8216;%1&#8242; \u5df2\u7ecf\u88ab\u5e9f\u5f03\uff1a&#8217;\u8bf7\u4f7f\u7528 %2&#8217;<\/p>\n<h4>\u3010\u95ee\u9898\u539f\u56e0\u3011<\/h4>\n<p>\u5f53\u524d\u7248\u7684 Delphi \u5df2\u7ecf\u4e0d\u518d\u4f7f\u7528\u540d\u4e3a %1 \u7684\u51fd\u6570\/\u53d8\u91cf\/\u5e38\u91cf\uff0c\u76ee\u524d\u7684\u4ee3\u7801\u4ecd\u53ef\u4ee5\u6b63\u5e38\u8fd0\u884c\uff0c\u4f46\u6700\u597d\u6539\u6210\u4f7f\u7528 %2 \u7684\u66ff\u4ee3\u51fd\u6570\/\u53d8\u91cf\/\u5e38\u91cf\u3002\u5b98\u65b9\u7684\u610f\u601d\u662f\u76f8\u5e94\u7684\u7b26\u53f7\u5c06\u5728\u540e\u7eed\u7684\u67d0\u4e2a\u7248\u672c\u4e2d\u5e9f\u5f03\uff0c\u6240\u4ee5\u6700\u597d\u53ca\u65f6\u6539\u6210\u65b0\u7684\u3002<\/p>\n<h4>\u3010\u89e3\u51b3\u65b9\u6cd5\u3011<\/h4>\n<p>1\u3001\u4e0d\u7406\u5b83\uff0c\u7ef4\u62a4\u65e7\u7684\u4ee3\u7801\u7684\u65f6\u5019\u5e38\u5e72\uff0c\u76f4\u5230\u5b98\u65b9\u5b8c\u5168\u653e\u5f03\u8fd9\u4e2a\u51fd\u6570\/\u53d8\u91cf\/\u5e38\u91cf\u65f6\u518d\u6539\u3002<\/p>\n<p>2\u3001\u6309\u8981\u6c42\u6539\u7528 %2 \u5bf9\u5e94\u7684\u51fd\u6570\/\u53d8\u91cf\/\u5e38\u91cf\u3002<\/p>\n<h4>\u3010\u793a\u4f8b\u3011<\/h4>\n<blockquote><p>[Warning] W1000 Symbol &#8216;UTF8Decode&#8217; is deprecated: &#8216;Use UTF8ToWideString or UTF8ToString&#8217;<\/p><\/blockquote>\n<p>UTF8Decode \u51fd\u6570\u88ab\u8c03\u7528\u7684\u4f4d\u7f6e\uff0c\u5982\u679c\u8fd4\u56de\u7c7b\u578b\u4e3aString\uff0c\u624b\u52a8\u6539\u4e3a UTF8ToString \u5373\u53ef\u3002\u5982\u679c\u58f0\u660e\u7684\u7c7b\u578b\u4e3a WideString\uff0c\u5219\u4f7f\u7528 UTF8ToWideString \u5373\u53ef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3010\u8bd1\u3011 [\u8b66\u544a] W1000 \u7b26\u53f7 &#038;# [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[69,8,603],"tags":[],"class_list":["post-4894","post","type-post","status-publish","format-standard","hentry","category-c-builder","category-delphi","category-603"],"views":2873,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/4894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4894"}],"version-history":[{"count":3,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/4894\/revisions"}],"predecessor-version":[{"id":4897,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/4894\/revisions\/4897"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}