Quantcast
Browsing all 1060 articles
Browse latest View live

UTF-8 Encoding not work on Outlook incoming messages

This is my mail template:$body='<!doctype html><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Simple Transactional...

View Article


Using Javascript's atob to decode base64 doesn't properly decode utf-8 strings

I'm using the Javascript window.atob() function to decode a base64-encoded string (specifically the base64-encoded content from the GitHub API). Problem is I'm getting ASCII-encoded characters back...

View Article


HTML5 page language, direction and encoding

What is the correct way of declaring a HTML5 page to be in Hebrew, RTL and utf-8 encoded? I haven't done it in a while, but I remember that in HTML4 it involved 3 or 4 tags and attributes that seemed...

View Article

How to store binary data (in the form of 0s and 1s) as a set of 8 0s and 1s...

I have a string of 0s and 1s. I want to take groups of 8 of these digits and assume them as a single byte and write it into a file to save as much space as possible. How should I encode this so that...

View Article

ERRORmain.py:71: hdlmake()'utf-8' codec can't decode

I am interested in building a project from a repository on GitHub: MEN A25 SBC PCIe-VME Bridge Gateware. I followed the steps provided for generating the FPGA bitstream:Fetch all git submodules with...

View Article


Unmarshal an ISO-8859-1 XML input in Go

When your XML input isn't encoded in UTF-8, the Unmarshal function of the xml package seems to require a CharsetReader.Where do you find such a thing ?

View Article

Convert utf8-characters to iso-88591 and back in PHP

Some of my script are using different encoding, and when I try to combine them, this has becom an issue.But I can't change the encoding they use, instead I want to change the encodig of the result from...

View Article

In jxbrowser7.22, there is still an error: Protocol message had invalid UTF-8

I saw on the official website that this problem had been solved in 7.12.2, but the 7.22 I used reported an error.Although an error is reported, the program can still run. EngineOptions...

View Article


Determine NLS_LANG on linux

How do I determine the NLS_LANG setting for my Oracle Client on linux?I haven't set the NLS_LANG explicitly.Is it necessary to set and export the variable NLS_LANG=AMERICAN_AMERICA.AL32UTF8 for...

View Article


Getting the actual length of a UTF-8 encoded std::string?

My std::string is UTF-8 encoded so obviously, str.length() returns the wrong result.I found this information but I'm not sure how I can use it to do this:The following byte sequences areused to...

View Article

Issue when converting utf16 wide std::wstring to utf8 narrow std::string for...

Why do some utf16 encoded wide strings, when converted to utf8 encoded narrow strings convert to hex values that don't appear to be correct when converted using this commonly found conversion...

View Article

Image may be NSFW.
Clik here to view.

Displaying Unicode in PowerShell

What I'm trying to achieve should be rather straightforward although PowerShell is trying to make it hard.I want to display the full path of files, some with Arabic, Chinese, Japanese and Russian...

View Article

Unable to convert bytes from charset 65535 in to Japanese (5035)

I have a character set conversion issue:I am updating Japanese Kanji characters in DB2 in iSeries system with the following conversion method:AS400 sys = new...

View Article


Why can't the comm command tell the difference between ✓&⨯ when...

If I have two files, a.txt containing:meow ✓ barand b.txt containing:meow ⨯ barWhy can't the GNU Coreutils command comm tell the difference between the two when $LANG is set to a UTF-8 encoding?$...

View Article

Reading UTF-8 texts in PowerPoint via VBA

I want to read all text in a PowerPoint file using VBA.I write this code:Sub ReadFileText() On Error Resume Next Dim shp As Shape For Each sld In ActivePresentation.Slides For Each shp In sld.Shapes If...

View Article


Java/terminal issues when getting and printing out utf-8 encoded strings

I've wanted to make an utf 8 supported chatroom, but it didn't work only for some specific utf 8 characters, so after spending a week in pure frustration, i narrowed it down to something being wrong...

View Article

C# Convert string from UTF-8 to ISO-8859-1 (Latin1) H

I have googled on this topic and I have looked at every answer, but I still don't get it.Basically I need to convert UTF-8 string to ISO-8859-1 and I do it using following code:Encoding iso =...

View Article


python utf-8 encoding with pandas

i'm having an issue best demonstrated with this webpage https://www.basketball-reference.com/draft/NBA_2018.html which per document.charset is encoded in 'utf-8'. i use the following codehtml =...

View Article

UTF-8 all the way through

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.Where...

View Article

Use UTF-8 in .bat file

I have following .bat file:@echo offecho %* > args.txtI get all the args through this file using %* and save them in a txt file to use them later.But when I use special args that require utf-8, they...

View Article
Browsing all 1060 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>