UTF8 to Shift_JIS in Javascript

Background The TextEncoder() in js does not support Shift_JIS , which means you may need to find some alternative ways to turn UTF-8 Japanese/Kana character into Shift_JIS encoding format for further handling in your use-case (such as FeliCa chip personalisation).  To verify whether a pair of hex values is in SJIS format - use this site . [1]  Know more about Japanese Character Set See this presentation by MySQL. Half-width Katakana in UTF-8 In Unicode, half-width katakana, which is called as hankaku (半角), is represented from position U+FF61 to U+FF9F .         0 1 2 3 4 5 6 7 8 9 A B C D E F FF60 。 「 」 、 ・ ヲ ァ ィ ゥ ェ ォ ャ ュ ョ ッ FF70 ー ア イ ウ エ オ カ キ ク ケ コ サ シ ス セ ソ FF80 タ チ ツ テ ト ナ ニ ヌ ネ ノ ハ ヒ フ ヘ ホ マ FF90 ミ ム メ モ ヤ ユ ヨ ラ リ ル レ ロ ワ ン ゙ ゚       Read this article to learn more . Existing library encoding.js If you cannot use external library for any reason Implement yourself  - use mapping, you can take r

Useful free/opensource productivity software

Here is a list of my suggested free productivity software that I am using it daily for my work. Most of them are free or opensource project. I will keep this list updated from time to time.   Screenshot + Editor [Portable | Freemium]   PicPick -   Windows Photos replacement / Photo Viewer [Portable | Open Source]    ImageGlass -  

Mifare UID Decimal formats

Example: Sector 0 Block 0 Data: 80 CD E6 D6 7D 88 04 00 88 98 00 20 00 00 00 F8 Single size UID (4-byte) UID "in order" (Big Endian): 80 CD E6 D6 UID "in reverse bytes order" (Little Endian/Intel): D6 E6 CD 80 Decimal: 3605450112     References:

Outdoor / camping shops in HK

View on Google Maps  

Ways to test port connections & ports occupied by Windows services

Test Port Connection Powershell Host Port Test-NetConnection  localhost -Port 9010       - OR - New-Object System.Net.Sockets.TcpClient(" localhost ", 80 )   Find out the port occupied by which application / service   1. Find out the process ID Netstat -aon | findstr [port]   2. Find the application name by PID Tasklist | findstr [pid]

(Low cost / No Cost) Hario Skerton burr wobble fix / mod

 Photo from Reddit Post   Before modification, Skerton gives an inconsistent grind size and people may look for more expensive grinder for espresso. Long story short, here is the quick fix with low cost / no cost: The inconsistent is caused by the burr wobble - so we need to fix the shaft to make sure the bottom burr stays in position at all time.    All you need is a straw / paper straw as spacer.    Result:  

Visual Studio Code Docker Extension Error-- "Error: Process 'docker context ls --format="{{json .}}"' exited with code 1"

  Fix for Error: Process 'docker context ls --format="{{json .}}"' exited with code 1     The problem was a corrupt meta.json file, (full of null´s inside the file). Quit Desktop Docker Delete %userprofile%.docker Open Docker Destop Problem fixed!   Source