Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BCP 47 language configFlags lost duirng build #2

Open
Kirlif opened this issue Jan 8, 2022 · 0 comments
Open

BCP 47 language configFlags lost duirng build #2

Kirlif opened this issue Jan 8, 2022 · 0 comments

Comments

@Kirlif
Copy link

Kirlif commented Jan 8, 2022

Decoding works fine
An example with this short table.xml:

<table version="0.0.2">
   <packages index="1" count="1">
        <package index="0" id="127" name="what.the">
            <specs index="2" count="1">
               <spec index="1" id="17" entryCount="301" name="string">
                 <types index="1" count="3">
                    <type index="0" id="17" configFlags="-es" configFlagsSize="64" entryCount="301"/>
                    <type index="1" id="17" *configFlags="-b+es+419"* configFlagsSize="64" entryCount="301"/>
                    <type index="2" id="17" configFlags="-es-rUS" configFlagsSize="64" entryCount="301"/>
                 </types>
               </spec>
            </specs>
        </package>
   </packages>
</table>

Encoding has trouble
Once built back to .arsc format then again converted to xml:

<table version="0.0.2">
   <packages index="1" count="1">
        <package index="0" id="127" name="what.the">
            <specs index="2" count="1">
               <spec index="1" id="17" entryCount="301" name="string">
                 <types index="1" count="3">
                    <type index="0" id="17" configFlags="-es" configFlagsSize="64" entryCount="301"/>
                    <type index="1" id="17" configFlags="" configFlagsSize="64" entryCount="301"/>
                    <type index="2" id="17" configFlags="-es-rUS" configFlagsSize="64" entryCount="301"/>
                 </types>
               </spec>
            </specs>
        </package>
   </packages>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant