troubleshooting error: see below

Hi, I'm getting an error when I try to compile a code I've copied off the internet. The code looks fine, but apparently, the compiler says otherwise. Any guidance? Arduino: 1.8.9 (Mac OS X), Board: "Arduino/Genuino Uno"

Compiling sketch... "/private/var/folders/1g/gtdzl81s7t55fq7lm1jl22kw0000gn/T/AppTranslocation/8299671E-AD77-40F7-9351-0BDB14529F4B/d/Arduino 2.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/private/var/folders/1g/gtdzl81s7t55fq7lm1jl22kw0000gn/T/AppTranslocation/8299671E-AD77-40F7-9351-0BDB14529F4B/d/Arduino 2.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/private/var/folders/1g/gtdzl81s7t55fq7lm1jl22kw0000gn/T/AppTranslocation/8299671E-AD77-40F7-9351-0BDB14529F4B/d/Arduino 2.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/private/var/folders/1g/gtdzl81s7t55fq7lm1jl22kw0000gn/T/AppTranslocation/8299671E-AD77-40F7-9351-0BDB14529F4B/d/Arduino 2.app/Contents/Java/libraries/Servo/src" /var/folders/1g/gtdzl81s7t55fq7lm1jl22kw0000gn/T/arduino_build_642703/sketch/Test_code_4_for_RC_model.ino.cpp -o /var/folders/1g/gtdzl81s7t55fq7lm1jl22kw0000gn/T/arduino_build_642703/sketch/Test_code_4_for_RC_model.ino.cpp.o Test_code_4_for_RC_model:28:3: error: stray '\342' in program Serial.print(“ch1"); ^ Test_code_4_for_RC_model:28:3: error: stray '\200' in program Test_code_4_for_RC_model:28:3: error: stray '\234' in program /Users/andrewclark/Documents/Arduino/Test_code_4_for_RC_model/Test_code_4_for_RC_model.ino:28:22: warning: missing terminating " character Serial.print(“ch1"); ^ Test_code_4_for_RC_model:28:3: error: missing terminating " character Serial.print(“ch1"); ^ Test_code_4_for_RC_model:30:3: error: stray '\342' in program Serial.print(“ch2"); ^ Test_code_4_for_RC_model:30:3: error: stray '\200' in program Test_code_4_for_RC_model:30:3: error: stray '\234' in program /Users/andrewclark/Documents/Arduino/Test_code_4_for_RC_model/Test_code_4_for_RC_model.ino:30:22: warning: missing terminating " character Serial.print(“ch2"); ^ Test_code_4_for_RC_model:30:3: error: missing terminating " character Serial.print(“ch2"); ^ /Users/andrewclark/Documents/Arduino/Test_code_4_for_RC_model/Test_code_4_for_RC_model.ino: In function 'void loop()': Test_code_4_for_RC_model:29:3: error: expected ')' before 'Serial' Serial.println(ch1); ^ Test_code_4_for_RC_model:31:3: error: expected ')' before 'Serial' Serial.println(ch2); ^ Using library Servo at version 1.1.3 in folder: /private/var/folders/1g/gtdzl81s7t55fq7lm1jl22kw0000gn/T/AppTranslocation/8299671E-AD77-40F7-9351-0BDB14529F4B/d/Arduino 2.app/Contents/Java/libraries/Servo exit status 1 stray '\342' in program

This issue is caused by copy pasting code from some website that has mangled the code in some attempt to make it more "pretty" I think in this case it used those "fancy quotes" where the one on the left is different from the one on the right. So go to lines 28 and 30 of your sketch and replace the quote marks with the standard ones. That should solve all the errors.

from some website that has mangled the code in some attempt to make it more "pretty"

Don't blame the web site for that. It is almost certainly a Microsoft based product that has done the stupid stuff.