Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

BCP 47 language configFlags lost duirng build #2

Open
@Kirlif

Description

@Kirlif

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions