utf-8 tag

9 questions


1 answers
413 views
0
byte size and look, read method

I am currently learning about bytes and file processing.#Hangul is 2 bytes per character (other is 1 byte) If it is 5 letters, it is 10 bytes, and 'Studying Python Language' is 10 letters (including s...

2 years ago

1 answers
154 views
0
If document.characterset, utf-8 does not appear normally. I can't find how to set the sublime text encoding or follow the video

Even with document.characterset, utf=8 does not appear normally.Even if I search how to change the sublime text encoding or watch the video uploaded by the teacher, it doesn't come out.

2 years ago

1 answers
174 views
0
Web-crawling Korean broken question.

class Home Controller < Application Controller def index require 'open-uri' require 'nokogiri' @url =http://news.naver.com/main/read.nhn?mode=LSD&mid=shm&sid1=105&oid=030&aid=000248...


1 answers
103 views
0
Encoding problems occur when using Korean in Pycharm.

Hello.I'm studying Python.Version 3.6 is used.PiCham uses version 2017.3.3.Encoding errors occur while practicing opening files.f = open(test.txt, w)f.write(Hangul Test)f.close()Traceback (most recent...


1 answers
177 views
0
Error: Non-ASCII character '\xe2' in file

Error: How do I resolve the Non-ASCII character '\xe2' in file?It doesn't pop up when I use English, but it only pops up when there is Korean$ cat bla.py print Hi!$ $ python bla.py File bla.py, line 1...


2 answers
96 views
0
Unicode error when opening CSV file in Python with Try, Exception statement

Re-upload with a little more complement from the previous question.Code that reads CSV files from the specified folder and writes columns to a new CSV file.If you open the file with try and get an err...

2 years ago

1 answers
86 views
0
Python Unicode conversion (Spanish?) Please help me

{cc: st,name: S\u00e3o Tom\u00e9 and Pr\u00edncipe}Like the dictionary above, I got the information from a site and it came out like \u00e3 When I looked on the internet,It sounds like Spanish, but ho...

2 years ago

1 answers
145 views
0
multilingual processing

Hi, how are you?I'm going to make a multi-language homepage this timeIs there any multilingual processing in HTML?I'm going to process three things, Japanese, Korean, and EnglishI know what to do in P...

2 years ago

1 answers
159 views
0
If you open the [utf-8] file and write or append and save it, it will be recognized as an [ascii] file.

If you open the [utf-8] file, replace it, and save it (w,a), it recognizes it as an [ascii] file. How do I save it so that it is recognized as utf-8 and not changed to be recognized as ascii?This file...

2 years ago

© 2024 OneMinuteCode. All rights reserved.