Search Provider with <ShortName> containing non-english characters fails to get added on Windows

27 views
Skip to first unread message

dpb

unread,
Dec 31, 2015, 10:47:31 AM12/31/15
to OpenSearch
Dear Members,

  • While writing an Search Provider for IE11, I found that if the <ShortName> tag contains Japanese characters then such a provider fails to get added on Windows.
IOpenServiceManager fails on non-english OS
HRESULT returned is  -1072896760. MSG_E_BADCHARDATA, which means "An invalid character was found in text content"
  • This looks to me a bug from Microsoft. Since we are using UTF-8, I think <ShortName> can contain Japanese characters.
  • Changing <ShortName> to have english character works for me.
  • Please advise / comment while I file an case with MS.
  • My search provider is as below


<?xml version="1.0" encoding="UTF-8" ?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
    <ShortName>マイ検索</ShortName>
    <Image width="16" height="16" type="image/icon">http://xyz.shopping.com/images/favicon.ico</Image>
    <Url type="text/html" template="http://www.google.com/search?q={SearchTerms}"/>
</OpenSearchDescription>


Thank you,

dpb

Reply all
Reply to author
Forward
0 new messages