encoding Questions
3
Solved
I have a little logger function that returns potentially two handlers to log to a RotatingFileHandler and sys.stdout simultaneously.
import os, logging, sys
from logging.handlers import RotatingFil...
5
Solved
I use TeamCity for continious integration. Solution checkouts on deploy machine and builds. Deploy machine running under Windows Server 2008 R2 - Russian. There are russian language PowerShell inst...
3
Solved
It looks to me like R introduced a new error in version 4.3.0, which breaks a lot of my web-scrapers. I only found one mention of the change, but don't really understand the blog post.
In essence, ...
4
I have got a problem with printing out a unicode symbol in the windows console.
Here's the java code that prints out the unicode symbol value;
System.out.print("\u22A2 ");
The problem doesn't...
2
Solved
I have a PDF generated by a third party. I am trying to get the text out of it, but neither pdf2text nor copying and pasting results in readable text. After a little digging in the output (of eithe...
Weathered asked 19/6, 2013 at 14:23
5
Solved
I just got knocked down after our server has been updated from Debian 4 to 5.
We switched to UTF-8 environment and now we have problems getting the text printed correctly on the browser, because al...
Psf asked 22/2, 2010 at 15:8
10
Solved
I want visitors to be able to click on (or copy) an email address directly on my webpage. However, if I could make it (a little bit) harder for bots and other crawlers to get said email address and...
Selma asked 2/9, 2010 at 7:34
2
I have a CSV file which I can read in and at all works fine except for the specific German (and possibly other) characters. I've used chardet to determine that the encoding is Mac Roman
import char...
Sansone asked 12/6 at 15:57
1
Solved
I use Visual Studio to develop my code. My files are encoded in UTF-8 with BOM.
As VS doesn't allow to stage hunk a files, I use GitKraken to do so.
But when I stage a hunk a file with GitKraken, t...
2
Solved
We're having conflict with coworkers on whether we should htmlencode user input and then save it to db ( vs saving it straight forward as it is)
I also found various answers which says that DB sho...
Pastorale asked 10/3, 2014 at 10:0
3
Solved
I'm having a problem with Spanish characters in a classic asp site. A user is able to submit their name/address in a form on an aspx page. The aspx page then does an ajax post to a classic asp page...
Atronna asked 22/8, 2012 at 23:40
11
I am using html2canvas to take an image of a div, the content is from the same page, same domain, but it shows the Arabic letters disconnected, it seems that html2canvas doesn't support Arabic.
W...
Jabber asked 17/3, 2013 at 9:0
6
Solved
with using python 2.7:
>myCity = 'Isparta'
>myCity.lower()
>'isparta'
#-should be-
>'ısparta'
tried some decoding, (like, myCity.decode("utf-8").lower()) but could not find how to do...
7
Solved
If I have a UTF-8 std::string how do I convert it to a UTF-16 std::wstring? Actually, I want to compare two Persian words.
7
I need to convert a string to UTF-8 in C#. I've already try many ways but none works as I wanted.
I converted my string into a byte array and then to try to write it to an XML file (which encoding ...
3
Solved
90% of my website pages use the utf8 encoding feature for compile an DataTable.
$a[] = array_map('utf8_encode', $item);
With the old version 8.0 of php everything was fine, in the new version it g...
Godred asked 20/12, 2022 at 15:55
8
Solved
I try to read and print the following file: txt.tsv (https://www.sec.gov/files/dera/data/financial-statement-and-notes-data-sets/2017q3_notes.zip)
According to the SEC the data set is provided in a...
2
I am receiving binary data in a string. I want to encode that into Base64. Is there any class to do that operation (I want an API).
Prenomen asked 17/6, 2011 at 11:50
1
Solved
With R 4.4.0 on a MacBook, nothing locale() or encoding related in .Rprofile or .Renviron.
Sys.getlocale() on a fresh session returns "en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.U...
3
I used to run my JavaEE applications on GlassFish server, and there was no problem with the encoding type (UTF-8) since I added the following property in JVM Settings of the server:
file.encoding ...
3
Solved
Amazon CloudFront Function is a new feature introduced by AWS.
CloudFront Function can be written using JavaScript only.
https://aws.amazon.com/blogs/aws/introducing-cloudfront-functions-run-your...
Shocker asked 26/5, 2021 at 15:55
2
Solved
Is there a standard, preferably Pythonic, way to convert the &#xxxx; notation to a proper unicode string?
For example,
מפגשי
Should be conv...
5
Solved
Im have some minor encoding issues. Im getting a json data string from here (try it yourself):
http://cdn.content.easports.com/fifa/fltOnlineAssets/C74DDF38-0B11-49b0-B199-2E2A11D1CC13/2014/fut/it...
2
Solved
I found an answer that almost solves my problem:
https://mcmap.net/q/1414267/-convert-biginteger-to-shorter-string-in-java
This answer demonstrates how to encode a BigInteger into a String then ba...
7
I have to handle this scenario in Java:
I'm getting a request in XML form from a client with declared encoding=utf-8. Unfortunately it may contain not utf-8 characters and there is a requirement t...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.