Is converting UTF-8" to charset=windows-1252" simple?

My client wants his web pages in html using charset=windows-1252. However, I have been using UFT-8. For me to change the html page from UTF-8 to windows 1252, is it as simple as replacing the code? Are there other things I have to do? I have been using Dreamweaver for this. I hope this is a simple fix.

Thanks for your help.

πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/StartingOverMan
πŸ“…︎ Jul 29 2020
🚨︎ report
Encoding problems with Windows-1252

As a fun? project I'm trying to write a parser for an ancient game's config text files, but I'm getting tripped up because the files are encoded in Windows-1252. The game is so old and uses a such a bizarre markup style that I heavily rely on find()-ing characters and slicing up strings.

None of the characters highlighted in red here are showing up properly when I print. I'm OK with them not appearing correctly on my end, but I need to know that they're going to get encoded properly when I write a parsed file. I also need to find() some of the broken characters but can't.

What do I do?

EDIT: Solved! It turns out that I must have inadvertently resaved the file I've used for testing as UTF-8. The characters are now showing up.

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/JesusKiosk
πŸ“…︎ Apr 27 2020
🚨︎ report
McDonald’sβ„’ logo but it's encoded in Windows-1252
πŸ‘︎ 58
πŸ’¬︎
πŸ‘€︎ u/2hu4u
πŸ“…︎ Mar 18 2019
🚨︎ report
1252 - MsMpEng: Remotely Exploitable Type Confusion in Windows 8, 8.1, 10, Windows Server, SCEP, Microsoft Security Essentials, and more. - project-zero bugs.chromium.org/p/proje…
πŸ‘︎ 140
πŸ’¬︎
πŸ‘€︎ u/awsometak
πŸ“…︎ May 09 2017
🚨︎ report
What is the difference between Windows 1252 and UTF-8? Is one preferable over the other?

Thanks.

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/WhackTheSquirbos
πŸ“…︎ Oct 18 2016
🚨︎ report
There are only 17,576 three-letter acronyms. (Also, ESR's version of the Jargon File is encoded in Windows-1252 mislabeled as ISO-8859-1.) catb.org/jargon/html/T/TL…
πŸ‘︎ 26
πŸ’¬︎
πŸ‘€︎ u/Kodiologist
πŸ“…︎ Nov 18 2015
🚨︎ report
ErdΓΆs Open Problems for Cash

Is someone still offering cash for solving Paul ErdΓΆs's open problems? My understanding is Ron Graham was managing it. Unfortunately he died last year.

If you don't know what I'm referencing, check out this Quanta article. https://www.quantamagazine.org/cash-for-math-the-erdos-prizes-live-on-20170605/

πŸ‘︎ 163
πŸ’¬︎
πŸ‘€︎ u/sewwi
πŸ“…︎ Apr 09 2021
🚨︎ report
What caused crime to drop so much in the USA?

I've been binging true crime for the last little bit and the majority of cases I see were from the early 90s or earlier. It makes sense though since it correlates with the drop in national crime rate in America especially compared to 30 years ago in 1991.

Violent crime in 1991 was 758/100k, today it is 379/100k (down 2x)

Property crime in 1991 was 5139/100k, today it is 2110/100k (down 2.4x)

Homicide in 1991 was 10/100k, today it is 4.8/100k (down 2.1x)

Robbery in 1991 was 273/100k, today it is 81/100k (down 3.4x)

Burglary in 1991 was 1252/100k, today it is 340/100k (down 3.7x) - no wonder Kevin McCallister was so prepared lol

Vehicle Theft in 1991 was 659/100k, today it is 215/100k (down 3.1x)

It's also estimated that there were over 200 active serial killers around in 1991 compared to now where there's less than 10

Now these numbers are still significantly higher than other modern developed nations but compared to previous decades, reducing crime in this nation has come a long way. What caused such progression, and how did these numbers plummet by such margins within a relatively short period of time (USA is nearly 250 years old so 30 years is a pretty small window)?

Were there new policies implemented to reduce crime? Less drug activity? The internet? Cell phones? Enhancements in crime deterring forensics like DNA & surveillance cameras? Less children born out of wedlock? Less active gangs? The US overall is also more educated and prosperous than we were 30 years ago so that could also be the reason, not to mention our standard of living is also much higher

πŸ‘︎ 29
πŸ’¬︎
πŸ“…︎ Jun 21 2021
🚨︎ report
The Presence of the Mal’akhim: ball of light UFO/UAPs are active benevolent and malevolent inter-dimensional alien entities watching and manipulating the progression of mankind since the beginning of time. These enigmatic beings will perform major roles during the imminent Apocalypse, and beyond.

Mal'akhim entities depicted in Project Blue Book.

Various sightings of Mal'akhim entities manifesting around the world.

These phenomena are major examples of Mal'akhim activity on the Earth.

Global captures of Mal'akhim entities in their energy vehicles above Earth.

Mal'akhim entities near the surface, without materializing into their bodily forms.

Various recorded bodily manifestations of the fallen Mal'akhim reveal that these creatures usually take on a bipedal form when terrorizing human victim(s).

As it is with most paranormal encounters with strange and frightful beings, balls of light are always associated with the phenomena before, during, and after the encounter(s).

These beings can pass through walls/doors/objects to paralyze victims with fear and/or briefly abduct victims. Sometimes following this, victims experience what is called "missing time."

This is a phenomenon that stretches back all throughout human history - from the current day to the medieval period and beyond into ancient times thousands of years ago.

Graphic art depicts major experiences, and many stories were written down in the annals.

Below is an extraordinary list of sightings and encounters of the Mal'akhim recorded throughout human history extending back from the 20th century to biblical times and beyond - long before the industrial revolution and the first human powered flight.

Bizarre stories of intelligent balls of fire from the 19th and 20th centuries.

25 August 1846, Saint-Apre, France

At 2:30 A.M. Dr. Moreau was returning from a visit to a patient's home by warm, calm weather when he found himself bathed in the light coming from a globe that seemed to open up, emitting hundreds of star-like objects. This was observed for three to four minutes,

... keep reading on reddit ➑

πŸ‘︎ 327
πŸ’¬︎
πŸ‘€︎ u/candleman100
πŸ“…︎ Apr 19 2021
🚨︎ report
What do you call a man with no arms or legs in a hole?

Phil

πŸ‘︎ 5k
πŸ’¬︎
πŸ‘€︎ u/Rumblebully
πŸ“…︎ Jun 30 2021
🚨︎ report
The game won't start

i purchased the game a day ago and it won't launch.
before that i purchased the game at 2018 while in early access and it didn't launch either. how can i fix this? (steam version on windows 10)
here it is my log file:

09:12:42.223 INFO desktop.DesktopLauncher> time: 1625130762220
09:12:42.234 INFO desktop.DesktopLauncher> version: 2020-12-22
09:12:42.235 INFO desktop.DesktopLauncher> libgdx: 1.9.5
09:12:42.235 INFO desktop.DesktopLauncher> default_locale: en_US
09:12:42.235 INFO desktop.DesktopLauncher> default_charset: windows-1252
09:12:42.235 INFO desktop.DesktopLauncher> default_encoding: Cp1252
09:12:42.235 INFO desktop.DesktopLauncher> java_version: 1.8.0_144
09:12:42.236 INFO desktop.DesktopLauncher> os_arch: amd64
09:12:42.236 INFO desktop.DesktopLauncher> os_name: Windows 10
09:12:42.236 INFO desktop.DesktopLauncher> os_version: 10.0
09:12:42.237 INFO core.SystemStats> MEMORY STATS:
Free Memory: 205Mb
Max Memory: 3,623Mb
Allocated Memory: 245Mb
Unallocated Memory: 3,378Mb
Total Free Memory: 3,583Mb
Used Memory: 39Mb

09:12:42.238 INFO core.SystemStats> DISK STATS:
Total Space: 306,138Mb
Usable Space: 111,903Mb
Free Space: 111,903Mb

09:12:42.289 INFO core.DisplayConfig> Reading info.displayconfig
09:12:42.291 INFO core.DisplayConfig> File info.displayconfig not found, creating with defaults.
09:12:42.291 INFO core.DisplayConfig> Creating new config with default values...
09:12:42.296 INFO core.DisplayConfig> DisplayConfig successfully read.
09:12:42.296 INFO desktop.DesktopLauncher> [WINDOWED_MODE]
09:12:42.296 INFO desktop.DesktopLauncher> Settings successfully loaded
09:12:42.297 INFO desktop.DesktopLauncher> Launching application...

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/fleaxel
πŸ“…︎ Jul 01 2021
🚨︎ report
DAD JOKES ARE NOT DIRTY.

Go post NSFW jokes somewhere else. If I can't tell my kids this joke, then it is not a DAD JOKE.

If you feel it's appropriate to share NSFW jokes with your kids, that's on you. But a real, true dad joke should work for anyone's kid.

Mods... If you exist... Please, stop this madness. Rule #6 should simply not allow NSFW or (wtf) NSFL tags. Also, remember that MINORS browse this subreddit too? Why put that in rule #6, then allow NSFW???

Please consider changing rule #6. I love this sub, but the recent influx of NSFW tagged posts that get all the upvotes, just seem wrong when there are good solid DAD jokes being overlooked because of them.

Thank you,

A Dad.

πŸ‘︎ 11k
πŸ’¬︎
πŸ‘€︎ u/Von_Bostaph
πŸ“…︎ Jun 18 2021
🚨︎ report
3D Graphics Sandbox

I wrote a 3D renderer in pure Java. It doesn't use any graphics libraries; all the math is done internally. I started this in college when I took a class called Computer Graphics. I thought it was going to be all about the math involved and optimizing it, things like that. But it turned out that all we did was make games in Javascript. For our final project we were supposed to make another game but I asked if I could do a research project in Java instead. Since then I have added to and continued to improved it. It probably isn't useful for a game engine because it all runs on the CPU, but it is very insightful and fun to play with.

Here is the project. Graphy: https://github.com/ZGorlock/Graphy

Its very easy to make your own Scenes and Drawings, basically just pick and position objects where you want them. There are also several demo Scenes/Drawings you can run right out of the box (Polyhedra Explosion is my favorite). There are objects built in that you can use like polygons, polyhedra, spheres, picture frames, and mirrors. You can add movement, rotation, and orbit animations and transformations. You can have multiple cameras, up to 3 and view and control them independently. You can take screenshots and create recordings of your Scenes as well.

Sharing this so other people can have fun and learn from it too, hopefully. As well as getting any feedback or ideas for it. Thanks!

Edit: There is a bat file in the main directory that you can use to run any of the drawings or scenes from the command line.

The syntax is: "graphy.bat <scene|drawing> <class>"

Example: "graphy.bat scene PolyhedraExplosion"

JDK: 13.0.2 Maven: 3.6.3

πŸ‘︎ 18
πŸ’¬︎
πŸ‘€︎ u/ZGorlock
πŸ“…︎ Feb 22 2021
🚨︎ report
I'd ruther not say
πŸ‘︎ 10k
πŸ’¬︎
πŸ‘€︎ u/Un_FaZed211
πŸ“…︎ Jul 01 2021
🚨︎ report
Rational
πŸ‘︎ 8k
πŸ’¬︎
πŸ‘€︎ u/mainhoonmadrasi
πŸ“…︎ Jun 30 2021
🚨︎ report
My wife blocked me on Facebook because I post too many bird puns.

Well, toucan play at that game.

πŸ‘︎ 9k
πŸ’¬︎
πŸ‘€︎ u/Zayan-ali
πŸ“…︎ Jun 30 2021
🚨︎ report
Can I automate this?

For work I have to do a simple task on a daily basis that just screams: "automate me!"

What I have to do:

I have between 1 and 6 CSV files with slightly different names that I open in Notepad++, convert to UTF-8 and then save.

So I have two questions about this process:

  1. Can this be automated? (I'm pretty sure it can)
  2. Can I do this with Python and is this a good exercise for a complete beginner?

If there is another programming language that is better suited for this I would still like to try it with Python for training purposes.

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/MrTJLock
πŸ“…︎ Mar 15 2021
🚨︎ report
There are only two white people in the movie Black Panther

Martin Freeman, and Andy Serkis.

They also play roles in Lord of the Rings.

I guess that makes them the Tolkien white guys.

πŸ‘︎ 12k
πŸ’¬︎
πŸ‘€︎ u/jzagri
πŸ“…︎ Jun 24 2021
🚨︎ report
My 3 yr old daughter made her first pun today and I almost cried. She was eating an apple and I asked her if she liked apples.

She said apple-lutely

πŸ‘︎ 12k
πŸ’¬︎
πŸ“…︎ Jun 29 2021
🚨︎ report
What did the left eye say to the right eye when they got married?

'Eye-do'

This is my first post pls don't kill me lol.

The people in the comment section is why I love this subreddit!!

Cred once again my sis wants credit lol

πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/tieyz
πŸ“…︎ Jun 27 2021
🚨︎ report
If Apple made a car what would it be missing?

Windows

πŸ‘︎ 2k
πŸ’¬︎
πŸ‘€︎ u/Moplex1234
πŸ“…︎ Jul 02 2021
🚨︎ report
What was a very common name in the middle ages?

I heard parents named their children lance a lot.

First post please don't kill me

Edit: i went to sleep and now my inbox is dead, thank you kind strangers for the awards!

πŸ‘︎ 9k
πŸ’¬︎
πŸ“…︎ Jun 24 2021
🚨︎ report
Proud dad moment.

Keep in mind, my son is 4 years old, so everything is an original to him.

I had to work late into the evening yesterday, and he was just going to bed when I got home. I had left home for the office nearly 14 hours prior, had a long day, lots of meetings, traffic, etc.

When I walked through the door, I was exhausted, run down, and starving. My wife hugged me and asked how my day was, and I replied, "Done. It was a good day, but has got me exhausted. I just want to grab a bite and go to bed. I'm hungry."

From my son's bedroom, I hear him shout, "Hi Hungry! Nice to meet you!"

Not only did it make me laugh, but I completely forgot about how hungry and tired I was. I went to his bedroom, and we laughed together about it. It was exactly what I needed.

Edit: Thanks for all the awards, kind strangers! I'll let my son know y'all enjoyed his joke too!

πŸ‘︎ 7k
πŸ’¬︎
πŸ‘€︎ u/LaBarbaGuapa
πŸ“…︎ Jul 01 2021
🚨︎ report
Apologies if it's a bit corn-y
πŸ‘︎ 3k
πŸ’¬︎
πŸ‘€︎ u/mediashiznaks
πŸ“…︎ Jun 26 2021
🚨︎ report
Gottemm
πŸ‘︎ 8k
πŸ’¬︎
πŸ‘€︎ u/Un_FaZed211
πŸ“…︎ Jun 29 2021
🚨︎ report
What pan is the best to make sushi in?

Japan.

πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/Most-Stomach4240
πŸ“…︎ Jul 01 2021
🚨︎ report
so many choices
πŸ‘︎ 5k
πŸ’¬︎
πŸ‘€︎ u/SailorNebula
πŸ“…︎ Jun 07 2021
🚨︎ report
Well that didn't cross my mind
πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/JasonPetreasCoach
πŸ“…︎ Jun 11 2021
🚨︎ report
He knows too much
πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/Potato_salad123
πŸ“…︎ Jun 24 2021
🚨︎ report
where do pirates get their hooks?

second hand stores!

πŸ‘︎ 7k
πŸ’¬︎
πŸ‘€︎ u/bigus-_-dickus
πŸ“…︎ Jun 25 2021
🚨︎ report
I've just deleted all the German names off my pre owned iPhone..

it's Hans free now..

πŸ‘︎ 7k
πŸ’¬︎
πŸ‘€︎ u/HugoZHackenbush2
πŸ“…︎ Jun 28 2021
🚨︎ report
I've spent all morning trying to think of a quality pun, just to come up with THIS otter rubbish.
πŸ‘︎ 3k
πŸ’¬︎
πŸ‘€︎ u/awesome_smokey
πŸ“…︎ Jun 28 2021
🚨︎ report
3.14159265387279 snek
πŸ‘︎ 4k
πŸ’¬︎
πŸ“…︎ Jun 20 2021
🚨︎ report
My 6 year old wanted me to share his joke with you all. What is a horses favorite store?

Old Neeeeiiiiighvy

πŸ‘︎ 9k
πŸ’¬︎
πŸ‘€︎ u/WantedDadorAlive
πŸ“…︎ Jun 28 2021
🚨︎ report
Did you know 10+10 and 11+11 are the same?

10+10 is twenty and 11+11 is twenty too

πŸ‘︎ 5k
πŸ’¬︎
πŸ“…︎ Jun 27 2021
🚨︎ report
How much does it cost for a pirate to get his ears pierced?

A buck-an-ear!

I Thank ye kind Matey for the booty! I be truly overwhelmed! Thank you!

Holy cow! Thank you everyone for the upvotes and awards! I wasn’t expecting this!

πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/motherduck5
πŸ“…︎ Jun 25 2021
🚨︎ report
Rock bottom
πŸ‘︎ 4k
πŸ’¬︎
πŸ‘€︎ u/Theo19555
πŸ“…︎ Jun 23 2021
🚨︎ report
My Son Ate a Bunch of Scrabble Tiles. My Wife is Scared but I'm not...

He should have a good vowel movement. His next diaper change could spell disaster though.

πŸ‘︎ 8k
πŸ’¬︎
πŸ‘€︎ u/hypeaze
πŸ“…︎ Jun 23 2021
🚨︎ report
I never really understood why it was spelled: camouflage

and not:

πŸ‘︎ 4k
πŸ’¬︎
πŸ‘€︎ u/professorf
πŸ“…︎ Jul 01 2021
🚨︎ report
Chinese takeout: $11.77. Price of gas to get there: $3.00

Making it all the way home and realizing that they forgot one of the containers:

Riceless

πŸ‘︎ 5k
πŸ’¬︎
πŸ“…︎ Jun 28 2021
🚨︎ report
Two drunk guys were about to get into a brawl. One of the guys grabs a stick and draws a line in the dirt and says "If you cross this line, I'll hit you in the face"

That was the punchline

πŸ‘︎ 9k
πŸ’¬︎
πŸ“…︎ Jun 29 2021
🚨︎ report
I threw up in the toilet
πŸ‘︎ 3k
πŸ’¬︎
πŸ“…︎ Jun 25 2021
🚨︎ report
Hot
πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/AlexxFruit
πŸ“…︎ Jun 22 2021
🚨︎ report
Saw this on insta @PunHubOnline
πŸ‘︎ 5k
πŸ’¬︎
πŸ‘€︎ u/Haidi7
πŸ“…︎ Jun 26 2021
🚨︎ report
Had a good chuckle
πŸ‘︎ 7k
πŸ’¬︎
πŸ‘€︎ u/LittleBigOwl
πŸ“…︎ Jun 21 2021
🚨︎ report
Today on a walk my son was asking about a bunch of plants and stuff, he pointed to one and I said it was a fungi.

Without missing a beat he asks "Daddy, do you know how much room you need to grow Fungi like that?"

I did not know.

So he tells me "as Mushroom as possible!"

So proud.

πŸ‘︎ 9k
πŸ’¬︎
πŸ‘€︎ u/smoffatt34920
πŸ“…︎ Jun 26 2021
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.