Chinese encoding problem in ogr2ogr from Dxf file to GeoJsonConverting shapefile from Shift_JIS to UTF-8 when...

Can a German sentence have two subjects?

If Manufacturer spice model and Datasheet give different values which should I use?

Chess with symmetric move-square

Is it possible to make sharp wind that can cut stuff from afar?

Why does apt-get install python3 with a trailing hyphen remove a lot of packages?

Closed subgroups of abelian groups

Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?

How can the DM most effectively choose 1 out of an odd number of players to be targeted by an attack or effect?

Extreme, but not acceptable situation and I can't start the work tomorrow morning

How can I fix this gap between bookcases I made?

What is the offset in a seaplane's hull?

A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?

least quadratic residue under GRH: an EXPLICIT bound

What is GPS' 19 year rollover and does it present a cybersecurity issue?

What Brexit solution does the DUP want?

I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine

What is the white spray-pattern residue inside these Falcon Heavy nozzles?

Draw simple lines in Inkscape

How old can references or sources in a thesis be?

Does the radius of the Spirit Guardians spell depend on the size of the caster?

Why is "Reports" in sentence down without "The"

How do you conduct xenoanthropology after first contact?

Copenhagen passport control - US citizen

cryptic clue: mammal sounds like relative consumer (8)



Chinese encoding problem in ogr2ogr from Dxf file to GeoJson


Converting shapefile from Shift_JIS to UTF-8 when the usual methods failHow to preserve non-ASCII characters in ogr2ogr import?Google Tracks convert kml to shape and preserve attributesogr2ogr convert DXF to GeoJSON with defined geometryImport UTF-8 encoded Shapefiles into SQL Server?ogr2ogr problem mapping shapefile to geojson ETRS89 / Poland CS92How to extract style data from DXF when converting to geoJSONExport to DXF from PostgreSQL using ogr2ogrAlternative program to ogr2ogrConverting encoding using ogr2ogr on macOSUnicode encoding problem in ogo2ogr GeoJSON export from PostGIS






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I have a dxf format file named test.dxf which has some Chinese characters inside. I tried to transform it to GeoJson file using ogr2ogr -f GeoJSON test.geojson test.dxf and returned GeoJSON showing unrecognizable characters like this:



comp:甯岀背绉戯紙鍖椾含锛夊尰鑽鎶€鏈夐檺鍏徃"



I also tried with ogr2ogr -f GeoJSON test.geojson test.dxf ENCODING='UTF-8' but it doesn't work out. How can I get the result correctly? Thanks.



Realted reference:



Converting shapefile from Shift_JIS to UTF-8 when the usual methods fail









share







New contributor




ahbon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    0















    I have a dxf format file named test.dxf which has some Chinese characters inside. I tried to transform it to GeoJson file using ogr2ogr -f GeoJSON test.geojson test.dxf and returned GeoJSON showing unrecognizable characters like this:



    comp:甯岀背绉戯紙鍖椾含锛夊尰鑽鎶€鏈夐檺鍏徃"



    I also tried with ogr2ogr -f GeoJSON test.geojson test.dxf ENCODING='UTF-8' but it doesn't work out. How can I get the result correctly? Thanks.



    Realted reference:



    Converting shapefile from Shift_JIS to UTF-8 when the usual methods fail









    share







    New contributor




    ahbon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I have a dxf format file named test.dxf which has some Chinese characters inside. I tried to transform it to GeoJson file using ogr2ogr -f GeoJSON test.geojson test.dxf and returned GeoJSON showing unrecognizable characters like this:



      comp:甯岀背绉戯紙鍖椾含锛夊尰鑽鎶€鏈夐檺鍏徃"



      I also tried with ogr2ogr -f GeoJSON test.geojson test.dxf ENCODING='UTF-8' but it doesn't work out. How can I get the result correctly? Thanks.



      Realted reference:



      Converting shapefile from Shift_JIS to UTF-8 when the usual methods fail









      share







      New contributor




      ahbon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I have a dxf format file named test.dxf which has some Chinese characters inside. I tried to transform it to GeoJson file using ogr2ogr -f GeoJSON test.geojson test.dxf and returned GeoJSON showing unrecognizable characters like this:



      comp:甯岀背绉戯紙鍖椾含锛夊尰鑽鎶€鏈夐檺鍏徃"



      I also tried with ogr2ogr -f GeoJSON test.geojson test.dxf ENCODING='UTF-8' but it doesn't work out. How can I get the result correctly? Thanks.



      Realted reference:



      Converting shapefile from Shift_JIS to UTF-8 when the usual methods fail







      gdal geojson ogr2ogr dxf





      share







      New contributor




      ahbon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      ahbon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      ahbon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 8 mins ago









      ahbonahbon

      101




      101




      New contributor




      ahbon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      ahbon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      ahbon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "79"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          ahbon is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f318077%2fchinese-encoding-problem-in-ogr2ogr-from-dxf-file-to-geojson%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          ahbon is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          ahbon is a new contributor. Be nice, and check out our Code of Conduct.













          ahbon is a new contributor. Be nice, and check out our Code of Conduct.












          ahbon is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f318077%2fchinese-encoding-problem-in-ogr2ogr-from-dxf-file-to-geojson%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Щит и меч (фильм) Содержание Названия серий | Сюжет |...

          is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

          Meter-Bus Содержание Параметры шины | Стандартизация |...