I have a question , i have read all the possible answers but i don't find the solution. i have data in mysql but when i select data from mysql and show it in html web page then it doesn't show german charcters correctly. My code is:
INSERT INTO `extra_ingredients` (`extra_Ingredient_Serial`, `extra_Ingredient_Category`, `extra_Ingredient_Sub`, `extra_Ingredient_Name`) VALUES
(NULL, 'Pizza', '1', 'Sahnesauce'),
(NULL, 'Pizza', '1', 'Dönerfleisch'),
(NULL, 'Pizza', '1', 'Schafskäse');
as you can see in the table data is shown correctly but when i select with query and output in html page it shows something line this.
how can i resolve the issue . any help will be appreciated. Note I am using "UTF-8" in HTML page and "utf8mb4_german2_ci" in HTML I have also tried with "utf8_german2_ci" , "utf8_unicode_ci". i have entered data using sql query tab NOT using any HTML form, so i dont know why my data is encoded or decoded correctly while outputting in Html page.
Update: when i entered data using HTML form then it outputs fine but it has saved not the same in mysql table i entered "soße" from HTML table in mysql table "soße" in web page after selcting from mysql table "soße"
I dont want to enter data from HTML page because the data will be entered only once and with query i can insert all rows at once using query tab.