ajax + url encodeing

ajax + url encodeing

When attatching data to an ajax() call using the get option
ie

.ajax({
url:'example.com',
method:get,
data: { a: 1, b:2 }
})

does the URL (including everything that comes after the ?, ie the data) get URL encoded?