Classical Numismatics Discussion
  Welcome Guest. Please login or register. STORE WIDE SALE!!! 10% OFF EVERYTHING!!! WE ARE OPEN AND SHIPPING!!! We Are Working From Home, Social Distancing, Wearing Masks, And Sanitizing To Pack Orders!!! Please Call Us If You Have Questions 252-646-1958 Welcome Guest. Please login or register. STORE WIDE SALE!!! 10% OFF EVERYTHING!!! WE ARE OPEN AND SHIPPING!!! We Are Working From Home, Social Distancing, Wearing Masks, And Sanitizing To Pack Orders!!! Please Call Us If You Have Questions 252-646-1958


FORVM`s Classical Numismatics Discussion Board  |  Numismatic and History Discussions  |  Ancient Coin Webmasters (Moderator: Sorin Teodor)  |  Topic: Editing Metatags with Japanese Text Without Damaging Pages 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Editing Metatags with Japanese Text Without Damaging Pages  (Read 81 times)
Joe Sermarini
Owner, President
FORVM STAFF
Caesar
*****
Offline Offline

Posts: 10071


All Coins Guaranteed for Eternity.


WWW
« on: March 27, 2020, 02:10:43 pm »

I need to add the viewport tag on a hosted website (a tag required for mobile usability).  If I try to add the tag with ordinary English language (Latin alphabet) editor (I have tried a few), the Japanese characters are removed and replaced with garbage. Does anyone know how I can add the metatag without ruining the pages?
Logged

Joseph Sermarini
Owner, President
FORVM ANCIENT COINS
xanthos
Praetorian
**
Offline Offline

Posts: 34


« Reply #1 on: March 27, 2020, 02:57:00 pm »

The page has Japanese letters that break when you add the viewport tag with your editor? Sounds like your editor is messing up the encoding of the page. What editors have you tried? And what page is it?
Logged
Joe Sermarini
Owner, President
FORVM STAFF
Caesar
*****
Offline Offline

Posts: 10071


All Coins Guaranteed for Eternity.


WWW
« Reply #2 on: March 27, 2020, 06:12:08 pm »

I have used simple text editors, like notepad.  Yes, it is messing up the encoding of Chinese characters (the same problem also applies to Greek and other alphabets).  The pages are here:

https://www.forumancientcoins.com/augustus/index.html
Logged

Joseph Sermarini
Owner, President
FORVM ANCIENT COINS
xanthos
Praetorian
**
Offline Offline

Posts: 34


« Reply #3 on: March 28, 2020, 01:42:15 am »

If you're looking at the HTML code of the page, you will see that it uses Shift_JIS as encoding. Notepad only supports ANSI and some UTF encodings. So you will either need an editor that supports this Japanese encoding or you will have to convert the file from Shift_JIS to UTF-8 (and don't forget to change the content type meta tag).
Logged
Joe Sermarini
Owner, President
FORVM STAFF
Caesar
*****
Offline Offline

Posts: 10071


All Coins Guaranteed for Eternity.


WWW
« Reply #4 on: March 28, 2020, 04:59:16 am »

Does anyone know a free editor that uses Shift_JIS encoding and works in English?
Logged

Joseph Sermarini
Owner, President
FORVM ANCIENT COINS
Pages: [1] Go Up Print 
FORVM`s Classical Numismatics Discussion Board  |  Numismatic and History Discussions  |  Ancient Coin Webmasters (Moderator: Sorin Teodor)  |  Topic: Editing Metatags with Japanese Text Without Damaging Pages « previous next »
Jump to:  

Recent Price Reductions in Forum's Shop


Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.737 seconds with 31 queries.
All coins are guaranteed for eternity
Forum Ancient Coins
PO BOX 1316
MOREHEAD CITY NC 28557


252-497-2724
customerservice@forumancientcoins.com
Facebook   Instagram   Pintrest   Twitter

zoom.asp