I have dwgadd code:
```
HEADER.codepage=28
point (0.0 0.0 0.0)
```

```dwgadd -v9 --as r11 -o out.dwg code.dwgadd```
generates DWG file with:
```
...
codepage: 30 [RS 0]
...
```

I think that code in src/header_variables_r11.spec:
```
...
  ENCODER {
    FIELD_VALUE (codepage) = dwg->header.codepage;
  }
  FIELD_RS (codepage, 0);
  DECODER {
    dwg->header.codepage = FIELD_VALUE (codepage);
  }
...
```
is bad
Wrong setting of header codepage in dwgadd in preR13
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : Wrong setting of header codepage in dwgadd in preR13
Issue date:

--- start body ---
I have dwgadd code:
```
HEADER.codepage=28
point (0.0 0.0 0.0)
```

```dwgadd -v9 --as r11 -o out.dwg code.dwgadd```
generates DWG file with:
```
...
codepage: 30 [RS 0]
...
```

I think that code in src/header_variables_r11.spec:
```
...
  ENCODER {
    FIELD_VALUE (codepage) = dwg->header.codepage;
  }
  FIELD_RS (codepage, 0);
  DECODER {
    dwg->header.codepage = FIELD_VALUE (codepage);
  }
...
```
is bad
--- end body ---
