In French language there are a character "œ" made with 2 letters "o" and "e" glued together like for the word "cœur" => Heart in english
I try to convert an HTML sentence with this word inside, for example :
I love PureBasic and all the members of his forum, of all my ''cœur''
and when i run this code
Code: Select all
HtmlSentence$ = "I love PureBasic and all the members of his forum%2c of all my %27%27c%C5%93ur%27%27"
Text$ = ReplaceString(HtmlSentence$, "%27", "'")
Text$ = ReplaceString(Text$, "%2c", ",")
Text$ = ReplaceString(Text$, "%C5%93", Chr(156)) ; oe
Debug Text$Like you see, the %C5%93 => "oe"=> chr(156) not appear,Debugger wrote:I love PureBasic and all the members of his forum, of all my ''cur''
https://www.utf8-chartable.de/unicode-u ... ?start=256U+0153 œ c5 93 LATIN SMALL LIGATURE OE
but the quote ' => chr(39) and the comma , => chr(44) yes
How can i force to write this character "%C5%93" => Chr(156) in my code ?
Have a good day



