The outlet and plug type used in Japan are A and B and in Taiwan are A and B and they are compatible with each other.
In Taiwan, outlets of type A and B are in use.
In Japan, outlets of type A and B are in use.