Command-line svn will not execute any options - "can't convert string from...
I've been using svn (through TortoiseSVN) for many years. I recently (months) started using it for Unreal 5.I just saw a new message when running command line svn: "Can't convert string from native...
View ArticleWhy am I getting SyntaxError: (unicode error) 'utf-8' codec can't decode byte...
I got some json data from an API. I used json.loads and then printed that to the REPL which is shown below. {'warnings': {'query': {'*': "Formatting of continuation data will be changing soon. To...
View ArticleUTF-8 character limit on TextField not working properly
I have a text field in my app that needs its character count limited. It works fine with regular text. But I need to take into account special characters and emojis and when the textfield reaches the...
View ArticleUTF8 Script in PowerShell outputs incorrect characters
I've created a UTF8 script for PowerShell with non-ascii characters. characters.ps1:Write-Host "çâãáà "When the script is run in PowerShell console, it outputs wrong characters.However, if I write the...
View ArticleWordpress: 301 redirects add UTF-8 characters
during a site audit with ahrefs, we discovered some double slashes in URL issues.Strangely for 301 redirects the UTF-8 charaters:-%E2%80%9E-%E2%80%9Care...
View ArticleConverting a string that is 2 digits to Base64
For my specific problem I am having the user enter into a text field a two digit number pin, which converts to hex I think? somehow and then base64. I want for example the hex of 01 to output the...
View ArticleInstruction for using ICU library in C++
I am currently working on a project that requires to use UTF-8 encoding to process a .csv file with unicode data. I was acknowledged about ICU library but I am unable to use it in my C++ project in...
View ArticlePoor performance with MariaDB (11) and utf8mb4_unicode_ci (vs...
We have a large database using MariaDB 11, and up until now, we have been working with various collations, primarily utf8mb3_general_ci. As part of a standardization process, we attempted to encode all...
View ArticleTriangle Question Mark Icons In WordPress Text
Ive noticed this little annoying question mark in a couple of spots on my web page at the end of the text.It's only showing on the mobile atm, not the desktop.It's showing in two spots only.Using...
View ArticleSaving UTF-8 texts with json.dumps as UTF-8, not as a \u escape sequence
Sample code (in a REPL):import jsonjson_string = json.dumps("בריצקלה")print(json_string)Output:"\u05d1\u05e8\u05d9 \u05e6\u05e7\u05dc\u05d4"The problem: it's not human readable. My (smart) users want...
View ArticleCreating a sliding window iterator of slices of chars from a String
I am looking for the best way to go from String to Windows<T> using the windows function provided for slices.I understand how to use windows this way:fn main() { let tst = ['a', 'b', 'c', 'd',...
View ArticleDetecting 'text' file type (ANSI vs UTF-8)
I wrote an application (a psychological testing exam) in Delphi (7) which creates a standard text file - ie the file is of type ANSI. Someone has ported the program to run on the Internet, probably...
View ArticleConverting Mac Roman character to equivalent UTF-8
I have been given some HTML files that use the Mac OS Roman file encoding. The files have French text, but in an editor many of the diacritical chars look strange (i.e. non French)Si cette option est...
View ArticleThe Openrowset function does not correctly read Unicode characters
I need to read data from a public link. Here is the link:https://webgate.ec.europa.eu/fsd/fsf/public/files/csvFullSanctionsList/content?token=dG9rZW4tMjAxNwThe original data is in UTF-8-BOM. I changed...
View ArticleHow to resolve path with emoji in src? Next.js
I didn't expect it to be a problem to get an images with emojies in their...
View ArticleWhat encoding does MAC Excel use?
I have a client that wants to export a .csv to the server where it will be parsed by PHP in order to generate a table with its data. I'm using iconv to convert to the appropriate encoding (UTF-8)....
View ArticleHow do I truncate a java string to fit in a given number of bytes, once UTF-8...
How do I truncate a java String so that I know it will fit in a given number of bytes storage once it is UTF-8 encoded?
View ArticleHow to configure NLog to save to a UTF8+BOM file?
This is how my logging is configured:private static void SetupLogging(string logFile){ var Config = new NLog.Config.LoggingConfiguration(); var logfile = new NLog.Targets.FileTarget("logfile") {...
View ArticleI am using python to read a file encoded in UTF-8 but this still displays...
class TextView(QtWidgets.QWidget): def set_text(self, file_path): if os.path.isfile(file_path): # if the filepath links to a single file AND this part is right try: with open(file_path, "r",...
View Articlere.findall() in python for escape sequences [duplicate]
I was trying to find out all escape sequences in a file but failed. This is a minimal reproducible example:Code:import rematches = re.findall(r'"(\\\d+)+"', r'"\123\124\125"')print(matches)Expected...
View Article