NO

Author Topic: XML manifests cannot have latin accents.  (Read 2329 times)

leandrojardim

  • Guest
XML manifests cannot have latin accents.
« on: December 09, 2015, 08:52:52 PM »
As the title says.
Windows shows up a dialog box asking to use sxstrace.exe. And as everybody knows, manifests cannot have comments too.
Hopefully until Pelle make a fix for it, its a matter of removing them for the program to work. :)

Code: [Select]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">

<assemblyIdentity
    type="win32"
    name="Example"
    version="1.0.0.0"
    processorArchitecture="X86"
/>

<description>Uma pequena planilha de cálculos.</description>

<dependency>
  <dependentAssembly>
    <assemblyIdentity
        type="win32"
        name="Microsoft.Windows.Common-Controls"
        version="6.0.0.0"
        processorArchitecture="X86"
        publicKeyToken="6595b64144ccf1df"
        language="*"
    />
  </dependentAssembly>
</dependency>

<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
  <application>
     <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
     <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
     <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
     <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
  </application>
</compatibility>

</assembly>

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Re: XML manifests cannot have latin accents.
« Reply #1 on: December 10, 2015, 11:54:33 AM »
Is this a bug or OS feature?

Comments: This is legal, look here
Code: [Select]
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
  <application>
     <!-- Application supports Windows 10 -->
     <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
     <!-- Application supports Windows 8.1 -->
     <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
     <!-- Application supports Windows 8 -->
     <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
     <!-- Application supports Windows 7 -->
     <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
     <!-- Application supports Windows Vista -->
     <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
  </application>
</compatibility>
EDIT:
porc don't have support UNICODE name 'MANIFEST' like MS RC have.
test1 use msvc compiled obj and res with polink
test2 use pocc compiled obj and MS RC compiled res with polink


EDIT:
Save rc-file in format UTF-16LE and name MANIFEST with name MANIFEST.
Code: [Select]
MANITEST MANIFEST "res1.xml"With that named manifest can use UTF8 strings?
« Last Edit: December 10, 2015, 08:37:41 PM by TimoVJL »
May the source be with you