Sanjeev Sabhlok's notes on technology, hardware, gardening

fixing garbled characters on wordpress

I was trying to get the garbled characters fixed by using “utf-8” or utf8 but it turns out that “latin1” fixed it.

define(‘DB_CHARSET’, ‘latin1’);

Continue Reading

Protected: Leakage in downstairs bedroom – identifying and fixing the cause

This content is password protected. To view it please enter your password below:

Continue Reading

Samsung Galaxy J4 – notes.

I got this phone from India in February 2019 since I thought it would serve my basic needs, which it does. However, I’m concerned about its screen quality and text editor which seems to be particularly outdated. The video quality is pretty good.



Dimensions (mm) 151.70 x 77.20 x 8.10
Weight (g) 175.00
Battery capacity (mAh) 3000
Removable battery Yes
Screen size (inches) 5.50
Touchscreen Yes
Resolution 720×1280 pixels


Internal storage 16GB
Expandable storage Yes
Expandable storage type microSD
Expandable storage up to (GB) 256
Rear camera 13-megapixel (f/1.9)
Rear autofocus Yes
Rear flash LED
Front camera 5-megapixel (f/2.2)

So key issues:

  • screen resolution is very poor
  • The dictation mode is archaic and everytime one has to manually do a lot of adjustments for corrections.


Continue Reading