I have not been to PEK but I would lean towards TPE. PEK is better for those who like to go to dictatorships. For example, some really want to go to Cuba. Why? Because it's illegal?
Virtualtourist.com and lonelyplanet are travel websites. Read those and decide for yourself since travel is a very personal experience.