>>1901903
I know you are probably joking but Spanish and Portuguese belong to the same Latin branch so they share writing structures and have really similar words, it's the same in all branches, Italian and Spanish sound incredibly similar the same way Dutch and English sound pretty much the same to the untrained ear, anyone who doesn't know about their differences will easily confuse sister languages.
You can know it's Portuguese even when both languages share accentuation like á but ê ç and ã don't exist in spanish, Spanish has the ñ.